From ac8083c0ef1613ad537bbb72e80db6cf81ec2f9b Mon Sep 17 00:00:00 2001 From: Eduardo Roberto Date: Thu, 19 Dec 2024 01:43:43 +0000 Subject: [PATCH] Match all torrents pages * ops-red-fix-pl * red-fix-gazelle-snatched --- ops-red-fix-pl.js | 10 +++++----- red-fix-gazelle-snatched.js | 9 ++++----- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/ops-red-fix-pl.js b/ops-red-fix-pl.js index 88c770f..2d4d268 100644 --- a/ops-red-fix-pl.js +++ b/ops-red-fix-pl.js @@ -1,16 +1,16 @@ // ==UserScript== // @name OPS-RED: Fix PL // @namespace github.com/euamotubaina -// @version 2024-12-19 +// @version 2024-12-19_01 // @description Fix PL links // @author euamotubaina // @grant none -// @match https://orpheus.network/torrents.php?id=* +// @match https://orpheus.network/torrents.php* // @match https://orpheus.network/artist.php?id=* -// @match https://orpheus.network/collages.php?id=* -// @match https://redacted.sh/torrents.php?id=* +// @match https://orpheus.network/collages.php* +// @match https://redacted.sh/torrents.php* // @match https://redacted.sh/artist.php?id=* -// @match https://redacted.sh/collages.php?id=* +// @match https://redacted.sh/collages.php* // @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== diff --git a/red-fix-gazelle-snatched.js b/red-fix-gazelle-snatched.js index 567895c..492e811 100644 --- a/red-fix-gazelle-snatched.js +++ b/red-fix-gazelle-snatched.js @@ -1,14 +1,13 @@ // ==UserScript== // @name RED: Fix Gazelle Snatched // @namespace github.com/euamotubaina -// @version 2024-12-19 +// @version 2024-12-19_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/torrents.php* // @match https://redacted.sh/artist.php?id=* -// @match https://redacted.sh/collages.php?id=* +// @match https://redacted.sh/collages.php* // @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 @@ -24,6 +23,6 @@ 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 = ''; + taSep?.style.visibility = ''; } })(); \ No newline at end of file