qutebrowser: Add cookie-blocker script
Added cookie-blocker script which attempts to remove the cookie banners popping up on a variety of websites. Works well for some of the large ones (e.g. reddit, google, stackoverflow) but less well on smaller pages. Can be invoked with `:cookie-block` command alias.
This commit is contained in:
parent
c6f243c2c1
commit
b2ee02e474
30 changed files with 17369 additions and 5 deletions
|
|
@ -28,3 +28,6 @@ c.aliases["show-qr"] = "spawn --userscript qr"
|
|||
|
||||
# add a task of current page to taskwarrior
|
||||
c.aliases["taskadd"] = "spawn --userscript taskadd"
|
||||
|
||||
# try to remove the cookie banner from a website
|
||||
c.aliases["cookie-block"] = "spawn --userscript qute-cookie-block"
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
c.content.blocking.enabled = True
|
||||
c.content.blocking.method = "both"
|
||||
c.content.blocking.adblock.lists = [
|
||||
"http://www.malwaredomainlist.com/hostslist/hosts.txt",
|
||||
"http://someonewhocares.org/hosts/hosts",
|
||||
"http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext",
|
||||
"https://www.malwaredomainlist.com/hostslist/hosts.txt",
|
||||
"https://someonewhocares.org/hosts/hosts",
|
||||
"https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext",
|
||||
"https://secure.fanboy.co.nz/fanboy-cookiemonster.txt",
|
||||
]
|
||||
c.content.blocking.hosts.lists = [
|
||||
"http://winhelp2002.mvps.org/hosts.zip",
|
||||
"http://malwaredomains.lehigh.edu/files/justdomains.zip",
|
||||
"https://winhelp2002.mvps.org/hosts.zip",
|
||||
"https://malwaredomains.lehigh.edu/files/justdomains.zip",
|
||||
]
|
||||
c.content.blocking.whitelist = ["piwik.org"]
|
||||
c.content.autoplay = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue