diff options
Diffstat (limited to '.config/qutebrowser/greasemonkey')
-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.js | 14 | ||||
-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.js | 15 | ||||
-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 |
7 files changed, 9 insertions, 33 deletions
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 |