Skip to content

Commit

Permalink
Rename files
Browse files Browse the repository at this point in the history
  • Loading branch information
euamotubaina committed Dec 11, 2024
1 parent 13460b8 commit 71530b8
Show file tree
Hide file tree
Showing 8 changed files with 115 additions and 85 deletions.
54 changes: 28 additions & 26 deletions data_crystal.js → data-crystal.js
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}`;
}
}
});

})();
2 changes: 1 addition & 1 deletion gazelle-file-count.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// @name Gazelle File Count
// @namespace https://github.com/euamotubaina
// @description Shows the number of tracks and/or files in each torrent
// @version 2.0.3-1
// @version 2.0.3-02
// @match https://notwhat.cd/torrents.php*id=*
// @match https://orpheus.network/torrents.php*id=*
// @match https://redacted.sh/torrents.php*id=*
Expand Down
6 changes: 3 additions & 3 deletions gazelle_snatched.js → gazelle-snatched.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
// @grant GM_xmlhttpRequest
// @grant GM_registerMenuCommand
// @grant GM_getResourceText
// @downloadURL https://raw.githubusercontent.com/euamotubaina/userscripts/main/gazelle_snatched.js
// @updateURL https://raw.githubusercontent.com/euamotubaina/userscripts/main/gazelle_snatched.js
// @version 2024-11-27
// @downloadURL https://raw.githubusercontent.com/euamotubaina/userscripts/main/gazelle-snatched.js
// @updateURL https://raw.githubusercontent.com/euamotubaina/userscripts/main/gazelle-snatched.js
// @version 2024-12-11
// ==/UserScript==

var snatched_groups = {};
Expand Down
22 changes: 11 additions & 11 deletions ops_csshacks.js → ops-csshacks.js
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==


Expand Down
40 changes: 20 additions & 20 deletions ops-red-add-releases.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
// ==UserScript==
// @name OPS/RED - add releases
// @namespace https://github.com/euamotubaina
// @version 1.2.1-3
// @description Add releases to/from RED/OPS
// @author Audionut
// @match https://orpheus.network/torrents.php?id=*
// @match https://orpheus.network/artist.php?id=*
// @match https://redacted.sh/torrents.php?id=*
// @match https://redacted.sh/artist.php?id=*
// @grant GM_xmlhttpRequest
// @grant GM_addStyle
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_registerMenuCommand
// @grant GM_deleteValue
// @grant GM_listValues
// @require https://cdn.jsdelivr.net/gh/sizzlemctwizzle/GM_config@43fd0fe4de1166f343883511e53546e87840aeaf/gm_config.js
// @require https://cdnjs.cloudflare.com/ajax/libs/lz-string/1.4.4/lz-string.min.js
// @downloadURL https://raw.githubusercontent.com/euamotubaina/userscripts/refs/heads/main/ops-red-add-releases.js
// @updateURL https://raw.githubusercontent.com/euamotubaina/userscripts/refs/heads/main/ops-red-add-releases.js
// @name OPS/RED - add releases
// @namespace https://github.com/euamotubaina
// @version 1.2.1-03
// @description Add releases to/from RED/OPS
// @author Audionut
// @match https://orpheus.network/torrents.php?id=*
// @match https://orpheus.network/artist.php?id=*
// @match https://redacted.sh/torrents.php?id=*
// @match https://redacted.sh/artist.php?id=*
// @grant GM_xmlhttpRequest
// @grant GM_addStyle
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_registerMenuCommand
// @grant GM_deleteValue
// @grant GM_listValues
// @require https://cdn.jsdelivr.net/gh/sizzlemctwizzle/GM_config@43fd0fe4de1166f343883511e53546e87840aeaf/gm_config.js
// @require https://cdnjs.cloudflare.com/ajax/libs/lz-string/1.4.4/lz-string.min.js
// @downloadURL https://raw.githubusercontent.com/euamotubaina/userscripts/refs/heads/main/ops-red-add-releases.js
// @updateURL https://raw.githubusercontent.com/euamotubaina/userscripts/refs/heads/main/ops-red-add-releases.js
// ==/UserScript==

(function() {
Expand Down
24 changes: 12 additions & 12 deletions ops-red-fix-pl.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
// ==UserScript==
// @name OPS/RED: Fix PL
// @namespace https://github.com/euamotubaina
// @version 2024-12-11-1
// @description Fix PL links
// @author euamotubaina
// @grant none
// @match https://orpheus.network/torrents.php?id=*
// @match https://orpheus.network/artist.php?id=*
// @match https://redacted.sh/torrents.php?id=*
// @match https://redacted.sh/artist.php?id=*
// @downloadURL https://raw.githubusercontent.com/euamotubaina/userscripts/main/ops-red-fix-pl.js
// @updateURL https://raw.githubusercontent.com/euamotubaina/userscripts/main/ops-red-fix-pl.js
// @name OPS/RED: Fix PL
// @namespace https://github.com/euamotubaina
// @version 2024-12-11-02
// @description Fix PL links
// @author euamotubaina
// @grant none
// @match https://orpheus.network/torrents.php?id=*
// @match https://orpheus.network/artist.php?id=*
// @match https://redacted.sh/torrents.php?id=*
// @match https://redacted.sh/artist.php?id=*
// @downloadURL https://raw.githubusercontent.com/euamotubaina/userscripts/main/ops-red-fix-pl.js
// @updateURL https://raw.githubusercontent.com/euamotubaina/userscripts/main/ops-red-fix-pl.js
// ==/UserScript==

(() => {
Expand Down
28 changes: 28 additions & 0 deletions red-fix-gazelle-snatched.js
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 = '';
}
})();
24 changes: 12 additions & 12 deletions stats_since_last.js → stats-since-last.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
// ==UserScript==
// @name Stats since last
// @version 1.4.1-01
// @description Displays the changes in stats on RED, PTP, OPS
// @author Chameleon
// @include http*://*redacted.sh/*
// @include http*://*passthepopcorn.me/*
// @include http*://*orpheus.network/*
// @grant GM_getValue
// @grant GM_setValue
// @namespace https://github.com/euamotubaina
// @downloadURL https://raw.githubusercontent.com/euamotubaina/userscripts/main/stats_since_last.js
// @updateURL https://raw.githubusercontent.com/euamotubaina/userscripts/main/stats_since_last.js
// @name Stats since last
// @version 1.4.1-03
// @description Displays the changes in stats on RED, PTP, OPS
// @author Chameleon
// @include http*://*redacted.sh/*
// @include http*://*passthepopcorn.me/*
// @include http*://*orpheus.network/*
// @grant GM_getValue
// @grant GM_setValue
// @namespace https://github.com/euamotubaina
// @downloadURL https://raw.githubusercontent.com/euamotubaina/userscripts/main/stats-since-last.js
// @updateURL https://raw.githubusercontent.com/euamotubaina/userscripts/main/stats-since-last.js
// ==/UserScript==

(function() {
Expand Down

0 comments on commit 71530b8

Please sign in to comment.