sindresorhus / Plash

💦 Make any website your Mac desktop wallpaper
https://sindresorhus.com/plash
MIT License
3.51k stars 129 forks source link

Hide cookie notices & ad-blocking #37

Open sindresorhus opened 4 years ago

sindresorhus commented 4 years ago

Cookie notices and ads are annoying. WKWebView supports a content filter, so I think we can find some sources to feed it.

https://developer.apple.com/documentation/webkit/wkusercontentcontroller/2902756-add

For cookie notices, probably this: https://fanboy.co.nz/fanboy-cookiemonster.txt

For ads, there are a bunch here: https://filterlists.com

Could do something like this: https://github.com/sindresorhus/capture-website/pull/98 (see https://github.com/ghostery/adblocker/pull/9)

This is a huge amount of work and will not happen soon

sindresorhus commented 2 years ago

Workaround for now: https://github.com/sindresorhus/Plash#can-plash-block-ads