diff options
author | Urbain Vaes <urbain@vaes.uk> | 2018-11-18 12:59:21 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2018-11-18 13:31:15 +0100 |
commit | eb9765c374b2b53dd2f8e7c4b1bec9107386acf7 (patch) | |
tree | a1fb976bf4b37d2af4436c71c6dcfa7d559f3018 | |
parent | 3604c536d5bb1fadb3ea18ba3bc0ea55f62a8f5f (diff) |
Block ads on startpage
-rw-r--r-- | qutebrowser/.config/qutebrowser/config.py | 3 | ||||
-rw-r--r-- | qutebrowser/.config/qutebrowser/style.css | 11 |
2 files changed, 14 insertions, 0 deletions
diff --git a/qutebrowser/.config/qutebrowser/config.py b/qutebrowser/.config/qutebrowser/config.py index 18d689e..128667c 100644 --- a/qutebrowser/.config/qutebrowser/config.py +++ b/qutebrowser/.config/qutebrowser/config.py @@ -68,3 +68,6 @@ c.aliases = { "history-all-clear": 'spawn rm /home/urbain/.local/share/qutebrowser/cmd-history ;; history-clear', "wq": 'quit -s', "q": 'quit', } + +# Style sheet +c.content.user_stylesheets='/home/urbain/dotfiles/qutebrowser/.config/qutebrowser/style.css' diff --git a/qutebrowser/.config/qutebrowser/style.css b/qutebrowser/.config/qutebrowser/style.css new file mode 100644 index 0000000..81e3491 --- /dev/null +++ b/qutebrowser/.config/qutebrowser/style.css @@ -0,0 +1,11 @@ +div#spon_links { + display: none !important; +} + +div#adBlock { + display: none !important; +} + +section[class='promotion card search-item'] { + display: none !important; +} |