re: I do not consent you cookie consent dialog VIEW POST

re: I've been thinking about making an extension recently to do something similar, but for post types on places that don't let you configure them in yo...

Wow! It sounds good Ben! I urge you to start working on it 🤩.

My extension is compatible with Chromium based browsers (like Chrome, Edge and Opera for example) but not with Mozilla Firefox 😢.

This is fault of one of APIs I'm using in Do Not Consent, the runtime JavaScript API, it has a small difference between Chromium and Mozilla... in Chrome you access it through chrome.runtime.exampleMethod() but in Mozilla you access it through browser.runtime.exampleMethod(). In short, you only need to be careful with this less usual APIs that have this small differences.

Perhaps, in the near future, I'm going to add support for Firefox too. It should be easy... 🤔.

But from what you've said, I think you won't have this problem using only vanilla JavaScript (be careful if you use ECMAScript, you know it didn't support by old browsers like IE 🤣). Also, I'm sure you know MutationObserver API, it will help you a lot with infinite scroll lists observing tasks.

Have a nice day! 😀

code of conduct - report abuse