Add a userscript to remove privacy consent messages from theverge.com - dotfiles - leot's dotfiles
(HTM) hg clone https://bitbucket.org/iamleot/dotfiles
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) changeset a4bc345358ff3725b174b8a971a43e654d8c2c38
(DIR) parent b9eb28b48799dc09d44e101d712bbfbd4778e859
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Sat, 20 Oct 2018 14:27:32
Add a userscript to remove privacy consent messages from theverge.com
Diffstat:
config/vimb/scripts.js | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
---
diff -r b9eb28b48799 -r a4bc345358ff config/vimb/scripts.js
--- a/config/vimb/scripts.js Fri Oct 19 14:57:12 2018 +0200
+++ b/config/vimb/scripts.js Sat Oct 20 14:27:32 2018 +0200
@@ -141,6 +141,19 @@
}
// ==UserScript==
+// @name theverge
+// @description Remove the privacy consent footer
+// @include http*://www.theverge.com/*
+// ==/UserScript==
+function userscript_theverge()
+{
+ e = document.querySelector("div#privacy-consent");
+ if (e) {
+ e.remove();
+ }
+}
+
+// ==UserScript==
// @name twitter
// @description Adjust and clean up timeline of Mobile Twitter
// @include http*://twitter.com/*