summaryrefslogtreecommitdiff
path: root/qutebrowser
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-11-18 12:59:21 +0100
committerUrbain Vaes <urbain@vaes.uk>2018-11-18 13:31:15 +0100
commiteb9765c374b2b53dd2f8e7c4b1bec9107386acf7 (patch)
treea1fb976bf4b37d2af4436c71c6dcfa7d559f3018 /qutebrowser
parent3604c536d5bb1fadb3ea18ba3bc0ea55f62a8f5f (diff)
Block ads on startpage
Diffstat (limited to 'qutebrowser')
-rw-r--r--qutebrowser/.config/qutebrowser/config.py3
-rw-r--r--qutebrowser/.config/qutebrowser/style.css11
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;
+}