loading...
Cover image for I do not consent you cookie consent dialog

I do not consent you cookie consent dialog

wanhose profile image wanhose Updated on ใƒป1 min read

People surf hundreds of websites searching information, reading news and more every day.

A hundred tabs

But I am having a problem that getting worse my surf web experience day after day. The name of this problem is cookie consent dialog. They stop me a few minutes reading, accepting and declining permissions ๐Ÿ˜….

I am tired of losing my time, that is why I'm introducing my new Chromium based browsers extension made on vanilla JavaScript that remove those irritating cookie consent dialogs automatically ๐Ÿค“.

Drake Do Not Consent Meme

Nowadays, it supports thousands of websites but the Web is huge... and there is where you can enter giving feedback of websites not supported yet to add support in the next weekly update ๐Ÿ™Œ๐Ÿผ.

In short, this extension is blazing fast โšก, extremely light (less than 35KB) ๐Ÿƒ, no strange permissions required ๐Ÿ” and the most important thing... it's free and open-source ๐Ÿ˜!

From now you can download it from Google Chrome Web Store through this link, https://bit.ly/2zrKPeF ๐Ÿ”ฅ. And collaborate through this another link, https://bit.ly/3bXopPN ๐Ÿงช.

Posted on May 23 by:

wanhose profile

wanhose

@wanhose

An enthusiast developer who is searching more knowledge

Discussion

markdown guide
 

Why did you choose to make a dedicated extension rather than a ruleset for an existing content blocker such as ublock?

 

Hi Ben ๐Ÿ˜€! There are two main reasons:

  • not all people use ads blockers ๐Ÿคทโ€โ™‚๏ธ.
  • there are a lot of different implementations of cookie consent dialogs that cannot be resolved by a simply filter list or ruleset. In some cases... it is a complex problem that need to be resolved by a more specific solution like this.

Thanks for your comment and I hope you give a chance to this extension! ๐Ÿ‘

 

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 your feed. Something that observes infinite-scroll mutations, checks the text content against a list of patterns and if there's a match, removes or updates the appropriate parent node.

I know that some extensions these days will work in multiple browsers (Firefox and Chrome being the main variations). Does yours do the same and if so was there anything special you had to do to get it to work?

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! ๐Ÿ˜€