-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
13460b8
commit 71530b8
Showing
8 changed files
with
115 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
// ==UserScript== | ||
// @name Data Crystal monospace | ||
// @namespace https://github.com/euamotubaina | ||
// @version 2024-11-03 | ||
// @description Upgrade monospace font | ||
// @author euamotubaina | ||
// @match https://datacrystal.tcrf.net/* | ||
// @icon https://www.google.com/s2/favicons?sz=64&domain=tcrf.net | ||
// @grant none | ||
// ==/UserScript== | ||
|
||
(() => { | ||
'use strict'; | ||
|
||
window.addEventListener("load", () => { | ||
// console.log(document.querySelectorAll("link[rel=stylesheet]")) | ||
const linkEls = document.querySelectorAll("link[rel=stylesheet]"); | ||
if (linkEls) { | ||
const preStyle = [...linkEls[1].sheet.cssRules].find(rule => rule.selectorText == 'textarea, pre, code, tt'); | ||
if (preStyle) { | ||
preStyle.style.fontFamily = `\"Roboto Mono\", ${preStyle.style.fontFamily}`; | ||
} | ||
} | ||
}); | ||
|
||
})(); | ||
// ==UserScript== | ||
// @name Data Crystal monospace | ||
// @namespace https://github.com/euamotubaina | ||
// @version 2024-12-11 | ||
// @description Upgrade monospace font | ||
// @author euamotubaina | ||
// @match https://datacrystal.tcrf.net/* | ||
// @icon https://www.google.com/s2/favicons?sz=64&domain=tcrf.net | ||
// @grant none | ||
// @downloadURL https://raw.githubusercontent.com/euamotubaina/userscripts/main/data-crystal.js | ||
// @updateURL https://raw.githubusercontent.com/euamotubaina/userscripts/main/data-crystal.js | ||
// ==/UserScript== | ||
|
||
(() => { | ||
'use strict'; | ||
|
||
window.addEventListener("load", () => { | ||
// console.log(document.querySelectorAll("link[rel=stylesheet]")) | ||
const linkEls = document.querySelectorAll("link[rel=stylesheet]"); | ||
if (linkEls) { | ||
const preStyle = [...linkEls[1].sheet.cssRules].find(rule => rule.selectorText == 'textarea, pre, code, tt'); | ||
if (preStyle) { | ||
preStyle.style.fontFamily = `\"Roboto Mono\", ${preStyle.style.fontFamily}`; | ||
} | ||
} | ||
}); | ||
|
||
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
// ==UserScript== | ||
// @name Orpheus: CSS Hacks | ||
// @description Collages below torrents, adds .tl_notice | ||
// @author [email protected] | ||
// @namespace https://github.com/euamotubaina | ||
// @version 2024-12-11 | ||
// @grant none | ||
// @match https://orpheus.network/torrents.php?id=* | ||
// @match https://orpheus.network/artist.php?id=* | ||
// @icon https://orpheus.network/favicon.ico | ||
// @downloadURL https://raw.githubusercontent.com/euamotubaina/userscripts/main/ops_csshacks.js | ||
// @updateURL https://raw.githubusercontent.com/euamotubaina/userscripts/main/ops_csshacks.js | ||
// @name Orpheus: CSS Hacks | ||
// @description Collages below torrents, adds .tl_notice | ||
// @author [email protected] | ||
// @namespace https://github.com/euamotubaina | ||
// @version 2024-12-11-01 | ||
// @grant none | ||
// @match https://orpheus.network/torrents.php?id=* | ||
// @match https://orpheus.network/artist.php?id=* | ||
// @downloadURL https://raw.githubusercontent.com/euamotubaina/userscripts/main/ops-csshacks.js | ||
// @updateURL https://raw.githubusercontent.com/euamotubaina/userscripts/main/ops-csshacks.js | ||
// @icon https://orpheus.network/favicon.ico | ||
// ==/UserScript== | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// ==UserScript== | ||
// @name Redacted: Fix Gazelle Snatched | ||
// @namespace https://github.com/euamotubaina | ||
// @version 2024-12-11-01 | ||
// @description Fix Gazelle Snatched | ||
// @author euamotubaina | ||
// @grant none | ||
// @match https://redacted.sh/torrents.php?id=* | ||
// @match https://redacted.sh/torrents.php?searchstr=* | ||
// @match https://redacted.sh/artist.php?id=* | ||
// @icon https://redacted.sh/favicon.ico | ||
// @downloadURL https://raw.githubusercontent.com/euamotubaina/userscripts/main/red-fix-gazelle-snatched.js | ||
// @updateURL https://raw.githubusercontent.com/euamotubaina/userscripts/main/red-fix-gazelle-snatched.js | ||
// ==/UserScript== | ||
|
||
(() => { | ||
'use strict'; | ||
|
||
const sSheet = [...document.styleSheets].find(s => s.title === 'red_dark') | ||
if (sSheet) { | ||
// remove !important from rule | ||
const gtLinks = [...sSheet.cssRules].find(rule => rule.selectorText == '.group_torrent a'); | ||
gtLinks.style.color = gtLinks.style.color; | ||
// make link separators in torrent_actions_buttons visible | ||
const taSep = [...sSheet.cssRules].find(rule => rule.selectorText == '.group_torrent td:first-of-type span'); | ||
taSep.style.visibility = ''; | ||
} | ||
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters