obsidian-web-browser icon indicating copy to clipboard operation
obsidian-web-browser copied to clipboard

Add ad blocking to the web view

Open Trikzon opened this issue 3 years ago • 0 comments

Ad blocking is almost essential in today's web. So, an ad blocker should be built into this plugin. Unfortunately, Electron only supports a small subset of Chrome's plugin api, so I can't just let the user install arbitrary plugins such as uBlock Origin.

Instead, I believe that the @cliqz/adblocker-electron npm package can be used to at least partially block ads. I believe this works as a simple blacklist, so it won't have all of the security and privacy protections that uBlock Origin gives you, however it will prevent most ads (hopefully) from loading.

I found a guide to use the adblocker-electron package that I would like to try out.

This should be toggle-able per tab, and probably off globally by default.

Trikzon avatar Oct 11 '22 20:10 Trikzon