summaryrefslogtreecommitdiff
path: root/ar/.config/qutebrowser/greasemonkey/opengroup.css.js
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-16 11:39:32 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-16 11:39:32 +0900
commitb15e249d2d9cd503c39b3adede854f08f6fcf5fd (patch)
treef13507bbe02e7ab8ef1ccdc30cf4c5a88050fb51 /ar/.config/qutebrowser/greasemonkey/opengroup.css.js
parentcd4ab86d34904aa4b1b39f97da71f21f9e9a0102 (diff)
updates
Diffstat (limited to 'ar/.config/qutebrowser/greasemonkey/opengroup.css.js')
-rw-r--r--ar/.config/qutebrowser/greasemonkey/opengroup.css.js50
1 files changed, 0 insertions, 50 deletions
diff --git a/ar/.config/qutebrowser/greasemonkey/opengroup.css.js b/ar/.config/qutebrowser/greasemonkey/opengroup.css.js
deleted file mode 100644
index fdce0d3..0000000
--- a/ar/.config/qutebrowser/greasemonkey/opengroup.css.js
+++ /dev/null
@@ -1,50 +0,0 @@
-// ==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;
- }
-`);