reorder timer boost code and add subtituladas.org

This commit is contained in:
Amm0ni4 2025-02-28 17:46:50 +01:00
parent 7a79d9126c
commit ef04b55824
5 changed files with 47 additions and 41 deletions

View file

@ -4,7 +4,7 @@
// @run-at document-start
// @author Amm0ni4
// @noframes
// @version 94.0.24
// @version 94.0.25
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_addStyle
@ -671,6 +671,7 @@
// @include /get.cloudfam.io/
// @include /monoschinos.club/
// @include /(pelistop.xyz|tuconstanteonline.com)\/#/
// @include /subtituladas.org\/enlace/
// @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|smoplay|m-womenstyle|bnirfinance|fuyde).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/
// @include /^https:\/\/(.*\.|)(playonpc.online|quins.us|(tradeshowrating|historyofyesterday|retrotechreborn|insurelean|ecosolardigest).com|gally.shop|qanin.xyz|evegor.net)\/.*/

View file

@ -4,7 +4,7 @@
// @run-at document-start
// @author Amm0ni4
// @noframes
// @version 94.0.24
// @version 94.0.25
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_addStyle
@ -671,6 +671,7 @@
// @include /get.cloudfam.io/
// @include /monoschinos.club/
// @include /(pelistop.xyz|tuconstanteonline.com)\/#/
// @include /subtituladas.org\/enlace/
// @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|smoplay|m-womenstyle|bnirfinance|fuyde).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/
// @include /^https:\/\/(.*\.|)(playonpc.online|quins.us|(tradeshowrating|historyofyesterday|retrotechreborn|insurelean|ecosolardigest).com|gally.shop|qanin.xyz|evegor.net)\/.*/
@ -1533,6 +1534,19 @@
Object.defineProperty(document, 'visibilityState', {get() {return 'visible';}}); window.addEventListener('visibilitychange', function(e) {e.stopImmediatePropagation();}, true, true);
window.addEventListener('focus', onfocus, true);document.addEventListener('visibilitychange', function(e) {e.stopImmediatePropagation();}, true, true); Object.defineProperty(document, 'hidden', {get() {return false;}});};
function boostTimers() { // Overwrite setInterval and setTimeout
const originalSetInterval = window.setInterval;
const originalSetTimeout = window.setTimeout;
window.setInterval = function(func, delay, ...args) {
const newDelay = delay * 0.02;
return originalSetInterval(func, newDelay, ...args);
};
window.setTimeout = function(func, delay, ...args) {
const newDelay = delay * 0.02;
return originalSetTimeout(func, newDelay, ...args);
};
}
//peliculasgd.net, animesgd.net, club-hd.com, librolandia.net, pelishd4k.com, programasvirtualespc.net, pasteprivado.blogspot.com
/(mundopolo.net|myfirstdollar.net|adsense.tupaste.top|acorta2.com|web.admoneyclick.net|acortaphd.live|onlypc.net|link.manudatos.com)/.test(url) ? redirect(decodeURIComponent(atob(atob(atob(url.split('#!')[1]))))) : null;
@ -1709,6 +1723,10 @@
// serieslandia.com
/(pelistop.xyz|tuconstanteonline.com)\/#/.test(url) ? redirect(decodeURIComponent(atob(atob(atob(url.split('/#')[1]))).split('&url=')[1].split('&')[0])) : null;
// subtituladas.org
/subtituladas.org\/enlace/.test(url) ? boostTimers() : null;
/subtituladas.org\/enlace/.test(url) ? afterDOMLoaded(function() {redirectIfExists('#link')}) : null;
//ouo.io
/ouo.io/.test(url) && url.includes('?s=') ? redirect(decodeURIComponent(url.split('?s=')[1])) : null;
/ouo.io/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('#btn-main')}) : null;
@ -2786,24 +2804,7 @@
if (/techarmor.xyz/.test(url) && !url.includes('safe2.php')) {redirect("https://" + new URL(url).hostname + "/safe2.php");}
/get.cloudfam.io/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link');}) : null;
})();
(function() {
'use strict';
const url = window.location.href
function boostTimers2() { // Overwrite setInterval and setTimeout
const originalSetInterval = window.setInterval;
const originalSetTimeout = window.setTimeout;
window.setInterval = function(func, delay, ...args) {
const newDelay = delay * 0.02;
return originalSetInterval(func, newDelay, ...args);
};
window.setTimeout = function(func, delay, ...args) {
const newDelay = delay * 0.02;
return originalSetTimeout(func, newDelay, ...args);
};
}
// Timer boost list
const urlPatternsForTimerBoost = [
/www.gtaall.com\/get-manual/, // gtaall.com - https://github.com/FastForwardTeam/FastForward/issues/1348
/motakhokhara.blogspot.com/, // psa.wf
@ -2817,7 +2818,7 @@
];
for (const pattern of urlPatternsForTimerBoost) {
if (pattern.test(url)) {
boostTimers2();
boostTimers();
if (typeof showAlert === 'function') {
showAlert('Timers boosted', 'success', 1000, '', 'secondary');
}
@ -2826,6 +2827,7 @@
}
})();
// ----- ----- -----
//---Feedback for users---------------------------------------------------------------------

View file

@ -240,6 +240,7 @@
// @include /get.cloudfam.io/
// @include /monoschinos.club/
// @include /(pelistop.xyz|tuconstanteonline.com)\/#/
// @include /subtituladas.org\/enlace/
// @run-at document-start
// ==/UserScript==
@ -280,6 +281,19 @@
Object.defineProperty(document, 'visibilityState', {get() {return 'visible';}}); window.addEventListener('visibilitychange', function(e) {e.stopImmediatePropagation();}, true, true);
window.addEventListener('focus', onfocus, true);document.addEventListener('visibilitychange', function(e) {e.stopImmediatePropagation();}, true, true); Object.defineProperty(document, 'hidden', {get() {return false;}});};
function boostTimers() { // Overwrite setInterval and setTimeout
const originalSetInterval = window.setInterval;
const originalSetTimeout = window.setTimeout;
window.setInterval = function(func, delay, ...args) {
const newDelay = delay * 0.02;
return originalSetInterval(func, newDelay, ...args);
};
window.setTimeout = function(func, delay, ...args) {
const newDelay = delay * 0.02;
return originalSetTimeout(func, newDelay, ...args);
};
}
//peliculasgd.net, animesgd.net, club-hd.com, librolandia.net, pelishd4k.com, programasvirtualespc.net, pasteprivado.blogspot.com
/(mundopolo.net|myfirstdollar.net|adsense.tupaste.top|acorta2.com|web.admoneyclick.net|acortaphd.live|onlypc.net|link.manudatos.com)/.test(url) ? redirect(decodeURIComponent(atob(atob(atob(url.split('#!')[1]))))) : null;
@ -456,6 +470,10 @@
// serieslandia.com
/(pelistop.xyz|tuconstanteonline.com)\/#/.test(url) ? redirect(decodeURIComponent(atob(atob(atob(url.split('/#')[1]))).split('&url=')[1].split('&')[0])) : null;
// subtituladas.org
/subtituladas.org\/enlace/.test(url) ? boostTimers() : null;
/subtituladas.org\/enlace/.test(url) ? afterDOMLoaded(function() {redirectIfExists('#link')}) : null;
//ouo.io
/ouo.io/.test(url) && url.includes('?s=') ? redirect(decodeURIComponent(url.split('?s=')[1])) : null;
/ouo.io/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('#btn-main')}) : null;
@ -1533,24 +1551,7 @@
if (/techarmor.xyz/.test(url) && !url.includes('safe2.php')) {redirect("https://" + new URL(url).hostname + "/safe2.php");}
/get.cloudfam.io/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link');}) : null;
})();
(function() {
'use strict';
const url = window.location.href
function boostTimers2() { // Overwrite setInterval and setTimeout
const originalSetInterval = window.setInterval;
const originalSetTimeout = window.setTimeout;
window.setInterval = function(func, delay, ...args) {
const newDelay = delay * 0.02;
return originalSetInterval(func, newDelay, ...args);
};
window.setTimeout = function(func, delay, ...args) {
const newDelay = delay * 0.02;
return originalSetTimeout(func, newDelay, ...args);
};
}
// Timer boost list
const urlPatternsForTimerBoost = [
/www.gtaall.com\/get-manual/, // gtaall.com - https://github.com/FastForwardTeam/FastForward/issues/1348
/motakhokhara.blogspot.com/, // psa.wf
@ -1564,7 +1565,7 @@
];
for (const pattern of urlPatternsForTimerBoost) {
if (pattern.test(url)) {
boostTimers2();
boostTimers();
if (typeof showAlert === 'function') {
showAlert('Timers boosted', 'success', 1000, '', 'secondary');
}
@ -1573,4 +1574,5 @@
}
})();
// ----- ----- -----

View file

@ -653,6 +653,7 @@ https://paster.so/*
/get.cloudfam.io/
/monoschinos.club/
/(pelistop.xyz|tuconstanteonline.com)\/#/
/subtituladas.org\/enlace/
/^(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|smoplay|m-womenstyle|bnirfinance|fuyde).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/
/^https:\/\/(.*\.|)(playonpc.online|quins.us|(tradeshowrating|historyofyesterday|retrotechreborn|insurelean|ecosolardigest).com|gally.shop|qanin.xyz|evegor.net)\/.*/

View file

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