fix hyp.sh

This commit is contained in:
Amm0ni4 2025-02-14 12:41:43 +01:00
parent 272c28cc0b
commit 5df729feb0
5 changed files with 43 additions and 17 deletions

View file

@ -4,7 +4,7 @@
// @run-at document-start
// @author Amm0ni4
// @noframes
// @version 93.7.14
// @version 93.7.15
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_addStyle
@ -927,6 +927,7 @@
// @include /mixrootmod.com/
// @include /zaku.pro/
// @include /aylink.co|cpmlink.pro/
// @include /hypershort.com/
// @include /filecrypt.(cc|co)/
// @include /^(https?:\/\/)(.+)?((actualpost|americanstylo|beautifulfashionnailart|dadinthemaking|glowandglamcorner|listofthis|lobirtech|travelperi|vepiv|seydisehirmansethaber|turkiyertg|tophotelsukraine|balatroltd|tenorminiuk|icryptowin|chronoat|ecoinfotec|bcsclass|mainitbd|newselab|dizok|uzaay|tophistoryview|9sblog|ubnem|techavash|6harfli|professionaley|playghub|apkvmod|apkallworld|techoflix|toplistee|games2mobile|nivtu|bflig|jplna|bilgilendirici|zoninews).com|(makego|sakazi|momge|englishgrammarpro|arab-plus).net|askerlikforum.com.tr|misterio.ro|(forp|bevery|fanuze).xyz|gamcabd.org|gamerking.shop)(\/.*)/
// @include /(mega-enlace|acortados).com/

View file

@ -4,7 +4,7 @@
// @run-at document-start
// @author Amm0ni4
// @noframes
// @version 93.7.14
// @version 93.7.15
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_addStyle
@ -927,6 +927,7 @@
// @include /mixrootmod.com/
// @include /zaku.pro/
// @include /aylink.co|cpmlink.pro/
// @include /hypershort.com/
// @include /filecrypt.(cc|co)/
// @include /^(https?:\/\/)(.+)?((actualpost|americanstylo|beautifulfashionnailart|dadinthemaking|glowandglamcorner|listofthis|lobirtech|travelperi|vepiv|seydisehirmansethaber|turkiyertg|tophotelsukraine|balatroltd|tenorminiuk|icryptowin|chronoat|ecoinfotec|bcsclass|mainitbd|newselab|dizok|uzaay|tophistoryview|9sblog|ubnem|techavash|6harfli|professionaley|playghub|apkvmod|apkallworld|techoflix|toplistee|games2mobile|nivtu|bflig|jplna|bilgilendirici|zoninews).com|(makego|sakazi|momge|englishgrammarpro|arab-plus).net|askerlikforum.com.tr|misterio.ro|(forp|bevery|fanuze).xyz|gamcabd.org|gamerking.shop)(\/.*)/
// @include /(mega-enlace|acortados).com/
@ -2753,11 +2754,11 @@
clickIfNotDisabled('#gtelinkbtn');
}) : null;
// https://hyp.sh/Art07dr (hypershort) - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/101 - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/158
// /jytechs.in|mi.miuiflash.com|hypershort.com|djxmaza.in|thecubexguide.com/.test(url) ? afterDOMLoaded(function() {
// clickIfExists('#generatelink');
// redirectIfExists('#gettinglink');
// }) : null;
// hyp.sh - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/101 - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/158 - https://github.com/uBlockOrigin/uAssets/discussions/17361#discussioncomment-12198432
/hypershort.com/.test(url) ? afterDOMLoaded(function() {
clickIfExists('#generatelink');
redirectIfExists('#gettinglink');
}) : null;
// render-state.to - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/108
/render-state.to\/download\/\?link=/.test(url) ? afterDOMLoaded(function() {
@ -2980,15 +2981,23 @@
Object.defineProperty(window, 'setInterval', {value: function(func, delay) {if (delay === 1000) {delay = 50;} return FsI.apply(this, arguments);}});
};
function boostTimers2() {
//based on nano-sib uBO Filter - https://github.com/gorhill/ublock/wiki/Resources-Library#adjust-setIntervaljs-
// Store the original setInterval function
// Store the original setInterval and setTimeout functions
const originalSetInterval = window.setInterval;
const originalSetTimeout = window.setTimeout;
// Overwrite the setInterval function
window.setInterval = function(func, delay, ...args) {
// Modify the delay to 2% of its original value
const newDelay = delay * 0.02;
return originalSetInterval(func, newDelay, ...args);
};
// Overwrite the setTimeout function
window.setTimeout = function(func, delay, ...args) {
// Modify the delay to 2% of its original value
const newDelay = delay * 0.02;
return originalSetTimeout(func, newDelay, ...args);
};
}
// www.gtaall.com - https://github.com/FastForwardTeam/FastForward/issues/1348
@ -3012,6 +3021,9 @@
//linkpays.in
/((surfsees|travelagancy|venzoars|webbooki|pokoarcade).com|(fitnessholic|myindigocard).net|stockinsights.in|pandagamepad.co)(?!.*(safe\.php\?link=|&__cf_chl_tk=))/.test(url) ? boostTimers2() : null;
// hyp.sh hypershort
/hypershort.com/.test(url) ? boostTimers2() : null;
})();
// ----- ----- -----

View file

@ -229,6 +229,7 @@
// @include /mixrootmod.com/
// @include /zaku.pro/
// @include /aylink.co|cpmlink.pro/
// @include /hypershort.com/
// @run-at document-start
// ==/UserScript==
@ -1161,11 +1162,11 @@
clickIfNotDisabled('#gtelinkbtn');
}) : null;
// https://hyp.sh/Art07dr (hypershort) - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/101 - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/158
// /jytechs.in|mi.miuiflash.com|hypershort.com|djxmaza.in|thecubexguide.com/.test(url) ? afterDOMLoaded(function() {
// clickIfExists('#generatelink');
// redirectIfExists('#gettinglink');
// }) : null;
// hyp.sh - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/101 - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/158 - https://github.com/uBlockOrigin/uAssets/discussions/17361#discussioncomment-12198432
/hypershort.com/.test(url) ? afterDOMLoaded(function() {
clickIfExists('#generatelink');
redirectIfExists('#gettinglink');
}) : null;
// render-state.to - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/108
/render-state.to\/download\/\?link=/.test(url) ? afterDOMLoaded(function() {
@ -1388,15 +1389,23 @@
Object.defineProperty(window, 'setInterval', {value: function(func, delay) {if (delay === 1000) {delay = 50;} return FsI.apply(this, arguments);}});
};
function boostTimers2() {
//based on nano-sib uBO Filter - https://github.com/gorhill/ublock/wiki/Resources-Library#adjust-setIntervaljs-
// Store the original setInterval function
// Store the original setInterval and setTimeout functions
const originalSetInterval = window.setInterval;
const originalSetTimeout = window.setTimeout;
// Overwrite the setInterval function
window.setInterval = function(func, delay, ...args) {
// Modify the delay to 2% of its original value
const newDelay = delay * 0.02;
return originalSetInterval(func, newDelay, ...args);
};
// Overwrite the setTimeout function
window.setTimeout = function(func, delay, ...args) {
// Modify the delay to 2% of its original value
const newDelay = delay * 0.02;
return originalSetTimeout(func, newDelay, ...args);
};
}
// www.gtaall.com - https://github.com/FastForwardTeam/FastForward/issues/1348
@ -1420,5 +1429,8 @@
//linkpays.in
/((surfsees|travelagancy|venzoars|webbooki|pokoarcade).com|(fitnessholic|myindigocard).net|stockinsights.in|pandagamepad.co)(?!.*(safe\.php\?link=|&__cf_chl_tk=))/.test(url) ? boostTimers2() : null;
// hyp.sh hypershort
/hypershort.com/.test(url) ? boostTimers2() : null;
})();
// ----- ----- -----

View file

@ -908,6 +908,7 @@ https://paster.so/*
/mixrootmod.com/
/zaku.pro/
/aylink.co|cpmlink.pro/
/hypershort.com/
/filecrypt.(cc|co)/
/^(https?:\/\/)(.+)?((actualpost|americanstylo|beautifulfashionnailart|dadinthemaking|glowandglamcorner|listofthis|lobirtech|travelperi|vepiv|seydisehirmansethaber|turkiyertg|tophotelsukraine|balatroltd|tenorminiuk|icryptowin|chronoat|ecoinfotec|bcsclass|mainitbd|newselab|dizok|uzaay|tophistoryview|9sblog|ubnem|techavash|6harfli|professionaley|playghub|apkvmod|apkallworld|techoflix|toplistee|games2mobile|nivtu|bflig|jplna|bilgilendirici|zoninews).com|(makego|sakazi|momge|englishgrammarpro|arab-plus).net|askerlikforum.com.tr|misterio.ro|(forp|bevery|fanuze).xyz|gamcabd.org|gamerking.shop)(\/.*)/
/(mega-enlace|acortados).com/

View file

@ -37,7 +37,7 @@
// @namespace Violentmonkey Scripts
// @run-at document-start
// @author Bloggerpemula
// @version 93.7.14
// @version 93.7.15
// @match *://*/*
// @grant GM_setValue
// @grant GM_getValue