diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-02-10 08:24:09 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-02-10 08:24:09 +0900 |
| commit | 8db391ce6ca07ec78780c782a204abee357d73d0 (patch) | |
| tree | 97df2788261b86c9e2cb1bb45116ebc51c55af71 /ar/.config/qutebrowser/greasemonkey/opengroup.css.js | |
| parent | 9a1d363908228a4d9fffec191aff106598a6ac27 (diff) | |
modified qutebrowser/config.py, modified bin/bookmarks, created greasemonkey/, created bin/umpv
Diffstat (limited to 'ar/.config/qutebrowser/greasemonkey/opengroup.css.js')
| -rw-r--r-- | ar/.config/qutebrowser/greasemonkey/opengroup.css.js | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/ar/.config/qutebrowser/greasemonkey/opengroup.css.js b/ar/.config/qutebrowser/greasemonkey/opengroup.css.js new file mode 100644 index 0000000..fdce0d3 --- /dev/null +++ b/ar/.config/qutebrowser/greasemonkey/opengroup.css.js @@ -0,0 +1,50 @@ +// ==UserScript== +// @name Open Group Publications +// @include https://pubs.opengroup.org/onlinepubs* +// ==/UserScript== + +/* ~/.config/qutebrowser/greasemonkey/opengroup.css.js :: */ + +var hrs = document.getElementsByTagName('hr'); +for (let i = 0; i < hrs.length; i++) { + while(hrs[i].attributes.length > 0) { + hrs[i].removeAttributeNode(hrs[i].attributes[0]); + }; +}; + +GM_addStyle(` + body { + background: var(--color-bg) !important; + color: var(--color-fg) !important; + } + + ul, li, table { + color: unset !important; + background: unset !important; + } + + hr { + border-top: 2px solid var(--color-bar) !important; + color: var(--color-bar) !important; + } + + a { + color: var(--color-heading) !important; + text-decoration: none !important; + } + a:visited { + color: var(--color-link) !important; + } + a:hover { + color: var(--color-active) !important; + } + + h1, h2, h3, h4, h5, h6 { + color: var(--color-code) !important; + background: unset !important; + } + + .topOfPage { + display: none !important; + } +`); |
