added a bypass

This commit is contained in:
Amm0ni4 2024-03-24 21:49:49 +01:00
parent f1c99735a1
commit 76a0456280
4 changed files with 20 additions and 0 deletions

View file

@ -756,6 +756,8 @@
// @include /modijiurl.com/
// @include /4hi.in/
// @include /lnk.news/
// @include /imagereviser.com/
// @include /upshrink.com/
// @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/
// @include /(work.ink|workink.click)\/.*$/

View file

@ -756,6 +756,8 @@
// @include /modijiurl.com/
// @include /4hi.in/
// @include /lnk.news/
// @include /imagereviser.com/
// @include /upshrink.com/
// @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/
// @include /(work.ink|workink.click)\/.*$/
@ -2252,6 +2254,12 @@
// https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/12
/lnk.news/.test(url) ? afterDOMLoaded(function() {clickIfExists('#csubmit')}) : null;
// https://github.com/uBlockOrigin/uAssets/discussions/17361#discussioncomment-8893133
const afterElementVisible = (selector, callback) => {let intervalId = setInterval(() => {let element = document.querySelector(selector);if (element && (element.style.display.includes('block') || !element.style.display.includes('none'))) {clearInterval(intervalId);callback();}}, 500);};
/imagereviser.com/.test(url) ? preventForcedFocusOnWindow() : null;
/imagereviser.com/.test(url) ? afterDOMLoaded(function() {afterElementVisible('#second_btn_div', function() {document.querySelector('#bottom_btn').click();}) }) : null;
/upshrink.com/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null;
})();
(function() {

View file

@ -115,6 +115,8 @@
// @include /modijiurl.com/
// @include /4hi.in/
// @include /lnk.news/
// @include /imagereviser.com/
// @include /upshrink.com/
// @run-at document-start
// ==/UserScript==
@ -535,6 +537,12 @@
// https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/12
/lnk.news/.test(url) ? afterDOMLoaded(function() {clickIfExists('#csubmit')}) : null;
// https://github.com/uBlockOrigin/uAssets/discussions/17361#discussioncomment-8893133
const afterElementVisible = (selector, callback) => {let intervalId = setInterval(() => {let element = document.querySelector(selector);if (element && (element.style.display.includes('block') || !element.style.display.includes('none'))) {clearInterval(intervalId);callback();}}, 500);};
/imagereviser.com/.test(url) ? preventForcedFocusOnWindow() : null;
/imagereviser.com/.test(url) ? afterDOMLoaded(function() {afterElementVisible('#second_btn_div', function() {document.querySelector('#bottom_btn').click();}) }) : null;
/upshrink.com/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null;
})();
(function() {

View file

@ -736,6 +736,8 @@ r1.foxylinks.site
/modijiurl.com/
/4hi.in/
/lnk.news/
/imagereviser.com/
/upshrink.com/
/(loot-link.com|loot-links.com|lootlink.org|lootlinks.co|lootdest.(info|org|com)|links-loot.com|linksloot.net)\/s\?.*$/
/mega-enlace.com/
/(work.ink|workink.click)\/.*$/