added partial bypass for sinsitio.site or dixva.com

This commit is contained in:
Amm0ni4 2024-04-30 17:18:09 +02:00
parent a7fa212d60
commit 331895cfd4
4 changed files with 44 additions and 2 deletions

View file

@ -4,7 +4,7 @@
// @run-at document-start
// @author Amm0ni4
// @noframes
// @version 91.8.30
// @version 91.8.31
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_addStyle
@ -786,6 +786,8 @@
// @include /go.bloggingaro.com/
// @include /land.povathemes.com/
// @include /pahe.plus/
// @include /www.(sinsitio.site|dixva.com)\/out\/\?go=/
// @include /www.yitarx.com/
// @include /filecrypt.(cc|co)/
// @include /(loot-link.com|loot-links.com|lootlink.org|lootlinks.co|lootdest.(info|org|com)|links-loot.com|linksloot.net)\/s\?.*$/
// @include /mega-enlace.com/

View file

@ -4,7 +4,7 @@
// @run-at document-start
// @author Amm0ni4
// @noframes
// @version 91.8.30
// @version 91.8.31
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_addStyle
@ -786,6 +786,8 @@
// @include /go.bloggingaro.com/
// @include /land.povathemes.com/
// @include /pahe.plus/
// @include /www.(sinsitio.site|dixva.com)\/out\/\?go=/
// @include /www.yitarx.com/
// @include /filecrypt.(cc|co)/
// @include /(loot-link.com|loot-links.com|lootlink.org|lootlinks.co|lootdest.(info|org|com)|links-loot.com|linksloot.net)\/s\?.*$/
// @include /mega-enlace.com/
@ -2385,6 +2387,23 @@
// https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/36
/trimorspacks.com|pastescript.com|updrop.link/.test(url) ? afterDOMLoaded(function() {redirectIfExists('#wpsafe-link > a:nth-child(1)')}) : null;
// sinsitio.site / dixva.com
if (/www.(sinsitio.site|dixva.com)\/out\/\?go=/.test(url)) {
const decoder = (dictionary, encodedString) => {
const decodedArray = [];
for (const char of encodedString) {
if (dictionary[char] !== undefined) { decodedArray.push(dictionary[char]);
} else { return ''; }
}
return decodedArray.join('');
}
const myDictionary = {'I': 'h', '6': 't', 'A': 'p', '7': 's', ':': ':', '/': '/', '3': 'w', '.': '.', 'H': 'i', 'C': 'n', 'B': 'o', 'L': 'e', '5': 'u', '?': '?', '=': '=', '%': '%', 'w': '3', 'p': 'A', 'x': '2', 'k': 'F', 'M': 'd', '2': 'x', 'm': 'D', 'E': 'l', 'P': 'a', 't': '6', 'y': '1', 'q': '9', 'v': '4', '1': 'y', '8': 'r', 'N': 'c', 'D': 'm', 'R': 'Y', 'X': 'S', 'J': 'g', 'Y': 'R', 'Q': 'Z', 'W': 'T', 'h': 'I', 'g': 'J', '9': 'q', 'T': 'W', 'n': 'C', 'Z': 'Q', 'l': 'E', '4': 'v', 's': '7', 'u': '5', 'o': 'B', 'F': 'k', 'j': 'G'};
let decodedString = atob(url.split('?go=')[1]);
decodedString = decoder(myDictionary, decodedString);
if (decodedString !== '') { redirect(decodedString); }
}
/www.yitarx.com/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null;
})();
(function() {

View file

@ -142,6 +142,8 @@
// @include /go.bloggingaro.com/
// @include /land.povathemes.com/
// @include /pahe.plus/
// @include /www.(sinsitio.site|dixva.com)\/out\/\?go=/
// @include /www.yitarx.com/
// @run-at document-start
// ==/UserScript==
@ -663,6 +665,23 @@
// https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/36
/trimorspacks.com|pastescript.com|updrop.link/.test(url) ? afterDOMLoaded(function() {redirectIfExists('#wpsafe-link > a:nth-child(1)')}) : null;
// sinsitio.site / dixva.com
if (/www.(sinsitio.site|dixva.com)\/out\/\?go=/.test(url)) {
const decoder = (dictionary, encodedString) => {
const decodedArray = [];
for (const char of encodedString) {
if (dictionary[char] !== undefined) { decodedArray.push(dictionary[char]);
} else { return ''; }
}
return decodedArray.join('');
}
const myDictionary = {'I': 'h', '6': 't', 'A': 'p', '7': 's', ':': ':', '/': '/', '3': 'w', '.': '.', 'H': 'i', 'C': 'n', 'B': 'o', 'L': 'e', '5': 'u', '?': '?', '=': '=', '%': '%', 'w': '3', 'p': 'A', 'x': '2', 'k': 'F', 'M': 'd', '2': 'x', 'm': 'D', 'E': 'l', 'P': 'a', 't': '6', 'y': '1', 'q': '9', 'v': '4', '1': 'y', '8': 'r', 'N': 'c', 'D': 'm', 'R': 'Y', 'X': 'S', 'J': 'g', 'Y': 'R', 'Q': 'Z', 'W': 'T', 'h': 'I', 'g': 'J', '9': 'q', 'T': 'W', 'n': 'C', 'Z': 'Q', 'l': 'E', '4': 'v', 's': '7', 'u': '5', 'o': 'B', 'F': 'k', 'j': 'G'};
let decodedString = atob(url.split('?go=')[1]);
decodedString = decoder(myDictionary, decodedString);
if (decodedString !== '') { redirect(decodedString); }
}
/www.yitarx.com/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null;
})();
(function() {

View file

@ -765,6 +765,8 @@ https://paster.so/*
/go.bloggingaro.com/
/land.povathemes.com/
/pahe.plus/
/www.(sinsitio.site|dixva.com)\/out\/\?go=/
/www.yitarx.com/
/filecrypt.(cc|co)/
/(loot-link.com|loot-links.com|lootlink.org|lootlinks.co|lootdest.(info|org|com)|links-loot.com|linksloot.net)\/s\?.*$/
/mega-enlace.com/