From 7b0ae0dae6d2e81437e1147ac1b69e9d5a6f40c8 Mon Sep 17 00:00:00 2001 From: Mehavoid <63477090+Mehavoid@users.noreply.github.com> Date: Sun, 24 Nov 2024 11:20:14 +0300 Subject: [PATCH] Migrate to new domain --- pth_yadg.meta.js | 6 +++--- pth_yadg.user.js | 20 ++++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/pth_yadg.meta.js b/pth_yadg.meta.js index 9f1f328..8a16601 100644 --- a/pth_yadg.meta.js +++ b/pth_yadg.meta.js @@ -9,9 +9,9 @@ // @grant GM.xmlHttpRequest // @require https://greasemonkey.github.io/gm4-polyfill/gm4-polyfill.js // @require https://yadg.cc/static/js/jsandbox.min.js -// @include http*://*redacted.ch/upload.php* -// @include http*://*redacted.ch/requests.php* -// @include http*://*redacted.ch/torrents.php* +// @include http*://*redacted.sh/upload.php* +// @include http*://*redacted.sh/requests.php* +// @include http*://*redacted.sh/torrents.php* // @include http*://*orpheus.network/upload.php* // @include http*://*orpheus.network/requests.php* // @include http*://*orpheus.network/torrents.php* diff --git a/pth_yadg.user.js b/pth_yadg.user.js index 2d4a23d..f274a78 100644 --- a/pth_yadg.user.js +++ b/pth_yadg.user.js @@ -9,9 +9,9 @@ // @grant GM.xmlHttpRequest // @require https://greasemonkey.github.io/gm4-polyfill/gm4-polyfill.js // @require https://yadg.cc/static/js/jsandbox.min.js -// @include http*://*redacted.ch/upload.php* -// @include http*://*redacted.ch/requests.php* -// @include http*://*redacted.ch/torrents.php* +// @include http*://*redacted.sh/upload.php* +// @include http*://*redacted.sh/requests.php* +// @include http*://*redacted.sh/torrents.php* // @include http*://*orpheus.network/upload.php* // @include http*://*orpheus.network/requests.php* // @include http*://*orpheus.network/torrents.php* @@ -819,23 +819,23 @@ factory = { locations: [ { name: 'pth_upload', - regex: /http(s)?:\/\/(.*\.)?redacted\.ch\/upload\.php.*/i, + regex: /http(s)?:\/\/(.*\.)?redacted\.sh\/upload\.php.*/i, }, { name: 'pth_edit', - regex: /http(s)?:\/\/(.*\.)?redacted\.ch\/torrents\.php\?action=editgroup&groupid=.*/i, + regex: /http(s)?:\/\/(.*\.)?redacted\.sh\/torrents\.php\?action=editgroup&groupid=.*/i, }, { name: 'pth_request', - regex: /http(s)?:\/\/(.*\.)?redacted\.ch\/requests\.php\?action=new/i, + regex: /http(s)?:\/\/(.*\.)?redacted\.sh\/requests\.php\?action=new/i, }, { name: 'pth_request_edit', - regex: /http(s)?:\/\/(.*\.)?redacted\.ch\/requests\.php\?action=edit&id=.*/i, + regex: /http(s)?:\/\/(.*\.)?redacted\.sh\/requests\.php\?action=edit&id=.*/i, }, { name: 'pth_torrent_overview', - regex: /http(s)?:\/\/(.*\.)?redacted\.ch\/torrents\.php\?id=.*/i, + regex: /http(s)?:\/\/(.*\.)?redacted\.sh\/torrents\.php\?id=.*/i, }, { name: 'd3si_upload', @@ -1571,7 +1571,7 @@ factory = { for (const [i, element] of data.entries()) { // We are not using the javascript constructor to create an Option instance because this will create an - // incompatibility with jQuery in Chrome which will make it impossible to add a new artist field on redacted.ch + // incompatibility with jQuery in Chrome which will make it impossible to add a new artist field on redacted.sh const o = document.createElement('option'); o.text = 'nameFormatted' in element ? element.nameFormatted : element.name; @@ -1627,7 +1627,7 @@ factory = { += '
'; if (document.querySelectorAll('.rehost_it_cover')[0]) { optionsHTML - += '
'; + += '
'; } optionsHTML += '
';