summaryrefslogtreecommitdiffstats
path: root/.config/qutebrowser
diff options
context:
space:
mode:
Diffstat (limited to '.config/qutebrowser')
-rwxr-xr-x.config/qutebrowser/config.py1
-rwxr-xr-x.config/qutebrowser/greasemonkey/boursorama.js (renamed from .config/qutebrowser/greasemonkey/boursorama-css.js)0
-rwxr-xr-x.config/qutebrowser/greasemonkey/github-css.js14
-rwxr-xr-x.config/qutebrowser/greasemonkey/glassdoor.js (renamed from .config/qutebrowser/greasemonkey/glassdoor-css.js)13
-rwxr-xr-x.config/qutebrowser/greasemonkey/no-sticky-headers.js15
-rwxr-xr-x.config/qutebrowser/greasemonkey/scaleway.js (renamed from .config/qutebrowser/greasemonkey/scaleway-css.js)0
-rwxr-xr-x.config/qutebrowser/greasemonkey/scribe.js (renamed from .config/qutebrowser/greasemonkey/scribe-css.js)0
-rwxr-xr-x.config/qutebrowser/greasemonkey/stackoverflow.js (renamed from .config/qutebrowser/greasemonkey/stackoverflow-css.js)0
8 files changed, 10 insertions, 33 deletions
diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py
index c86a473..cd3695d 100755
--- a/.config/qutebrowser/config.py
+++ b/.config/qutebrowser/config.py
@@ -42,6 +42,7 @@ config.set('scrolling.smooth', False)
config.set('qt.highdpi', False)
config.set('qt.force_software_rendering', 'none')
config.set('qt.args', select_qt_arguments())
+config.set('messages.timeout', 1000)
config.bind(',m', 'spawn mpv {url}')
diff --git a/.config/qutebrowser/greasemonkey/boursorama-css.js b/.config/qutebrowser/greasemonkey/boursorama.js
index 771bc38..771bc38 100755
--- a/.config/qutebrowser/greasemonkey/boursorama-css.js
+++ b/.config/qutebrowser/greasemonkey/boursorama.js
diff --git a/.config/qutebrowser/greasemonkey/github-css.js b/.config/qutebrowser/greasemonkey/github-css.js
deleted file mode 100755
index 3b954b2..0000000
--- a/.config/qutebrowser/greasemonkey/github-css.js
+++ /dev/null
@@ -1,14 +0,0 @@
-// ==UserScript==
-// @name github css
-// @match *://github.com/*
-// @match *://gist.github.com/*
-// @grant none
-// ==/UserScript==
-
-/*
-GM_addStyle(`
- *, .BtnGroup-item {
- border-radius: 0px !important;
- }
-`)
-*/
diff --git a/.config/qutebrowser/greasemonkey/glassdoor-css.js b/.config/qutebrowser/greasemonkey/glassdoor.js
index ad82b26..e6e44fc 100755
--- a/.config/qutebrowser/greasemonkey/glassdoor-css.js
+++ b/.config/qutebrowser/greasemonkey/glassdoor.js
@@ -1,19 +1,24 @@
// ==UserScript==
// @name glassdoor
// @match https://*.glassdoor.com/*
+// @match https://*.glassdoor.fr/*
+// @run-at document-end
// @grant none
// ==/UserScript==
window.addEventListener('load', function () {
window.onscroll = null;
+ console.log('bbbbbbbbbbbbbb');
})
window.addEventListener('load', function() {
let functions = [
- () => document.getElementById("ContentWallHardsell").remove(),
- () => document.getElementsByTagName('body')[0].style.removeProperty("overflow"),
- () => document.addEventListener("scroll", event => event.stopPropagation(), true),
- () => document.addEventListener("mousemove", event => event.stopPropagation(), true),
+ () => document.getElementById('HardsellOverlay').remove(),
+ () => document.getElementsByTagName('body')[0].style.removeProperty('overflow'),
+ () => document.addEventListener('scroll', event => event.stopPropagation(), true),
+ () => document.addEventListener('mousemove', event => event.stopPropagation(), true),
];
functions.forEach(f => f());
});
+
+console.log('aaaaaaaaaaaaa');
diff --git a/.config/qutebrowser/greasemonkey/no-sticky-headers.js b/.config/qutebrowser/greasemonkey/no-sticky-headers.js
deleted file mode 100755
index e5eefa1..0000000
--- a/.config/qutebrowser/greasemonkey/no-sticky-headers.js
+++ /dev/null
@@ -1,15 +0,0 @@
-// ==UserScript==
-// @name no sticky header
-// @match *://*.substack.com/*
-// @grant none
-// ==/UserScript==
-
-(function () {
- var i, elements = document.querySelectorAll('body *');
-
- for (i = 0; i < elements.length; i++) {
- if (getComputedStyle(elements[i]).position === 'fixed') {
- elements[i].parentNode.removeChild(elements[i]);
- }
- }
-})();
diff --git a/.config/qutebrowser/greasemonkey/scaleway-css.js b/.config/qutebrowser/greasemonkey/scaleway.js
index 99955ca..99955ca 100755
--- a/.config/qutebrowser/greasemonkey/scaleway-css.js
+++ b/.config/qutebrowser/greasemonkey/scaleway.js
diff --git a/.config/qutebrowser/greasemonkey/scribe-css.js b/.config/qutebrowser/greasemonkey/scribe.js
index 60fc0e2..60fc0e2 100755
--- a/.config/qutebrowser/greasemonkey/scribe-css.js
+++ b/.config/qutebrowser/greasemonkey/scribe.js
diff --git a/.config/qutebrowser/greasemonkey/stackoverflow-css.js b/.config/qutebrowser/greasemonkey/stackoverflow.js
index 6c98466..6c98466 100755
--- a/.config/qutebrowser/greasemonkey/stackoverflow-css.js
+++ b/.config/qutebrowser/greasemonkey/stackoverflow.js
remember that computers suck.