inthepocket / cookie-though

🍪 Easy to use, minimal footprint cookie consent library. So delicious, you'll never need another library again 😄
https://cookiethough.dev
MIT License
102 stars 8 forks source link

Feat req: Allow the cookies to not show up automaticly on init #889

Open wwqbus opened 2 months ago

wwqbus commented 2 months ago

Is your feature request related to a problem? Please describe. we use this in an angular app that is also delivered to mobile devices nativly, the problem is that the coockie banner always shows up when it automaticly initializes. but we dont want this to happen on the native apps but only in the browser.

Describe the solution you'd like A way to declare if you want the cookie banner to pop up automaticly or not

Describe alternatives you've considered at the moment we are deleting the dom object when it gets created to by pass this, but thats a bit of an ugly way

Additional context

stale[bot] commented 6 days ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.