add reload for failed hubcloud page

https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/185
This commit is contained in:
Amm0ni4 2024-11-07 12:49:03 +01:00
parent 919563977e
commit fa6cba8416
4 changed files with 8 additions and 2 deletions

View file

@ -4,7 +4,7 @@
// @run-at document-start // @run-at document-start
// @author Amm0ni4 // @author Amm0ni4
// @noframes // @noframes
// @version 92.9.12 // @version 92.9.13
// @grant GM_setValue // @grant GM_setValue
// @grant GM_getValue // @grant GM_getValue
// @grant GM_addStyle // @grant GM_addStyle
@ -753,6 +753,7 @@
// @include /psccapk.in|secure.bgmiupdate.com.in/ // @include /psccapk.in|secure.bgmiupdate.com.in/
// @include /www.spaste.com/ // @include /www.spaste.com/
// @include /click.convertkit-mail.com/ // @include /click.convertkit-mail.com/
// @include /hubcloud.club\/tg\/go.php\?re=/
// @include /filecrypt.(cc|co)/ // @include /filecrypt.(cc|co)/
// @include /(mega-enlace|acortados).com/ // @include /(mega-enlace|acortados).com/
// @include /^(https?:\/\/)(.+)?((actualpost|americanstylo|beautifulfashionnailart|dadinthemaking|glowandglamcorner|listofthis|lobirtech|travelperi|vepiv|seydisehirmansethaber|turkiyertg|tophotelsukraine|balatroltd|tenorminiuk|icryptowin|chronoat|ecoinfotec).com|(makego|sakazi|momge).net|askerlikforum.com.tr|forp.xyz)(\/.*)/ // @include /^(https?:\/\/)(.+)?((actualpost|americanstylo|beautifulfashionnailart|dadinthemaking|glowandglamcorner|listofthis|lobirtech|travelperi|vepiv|seydisehirmansethaber|turkiyertg|tophotelsukraine|balatroltd|tenorminiuk|icryptowin|chronoat|ecoinfotec).com|(makego|sakazi|momge).net|askerlikforum.com.tr|forp.xyz)(\/.*)/

View file

@ -4,7 +4,7 @@
// @run-at document-start // @run-at document-start
// @author Amm0ni4 // @author Amm0ni4
// @noframes // @noframes
// @version 92.9.12 // @version 92.9.13
// @grant GM_setValue // @grant GM_setValue
// @grant GM_getValue // @grant GM_getValue
// @grant GM_addStyle // @grant GM_addStyle
@ -753,6 +753,7 @@
// @include /psccapk.in|secure.bgmiupdate.com.in/ // @include /psccapk.in|secure.bgmiupdate.com.in/
// @include /www.spaste.com/ // @include /www.spaste.com/
// @include /click.convertkit-mail.com/ // @include /click.convertkit-mail.com/
// @include /hubcloud.club\/tg\/go.php\?re=/
// @include /filecrypt.(cc|co)/ // @include /filecrypt.(cc|co)/
// @include /(mega-enlace|acortados).com/ // @include /(mega-enlace|acortados).com/
// @include /^(https?:\/\/)(.+)?((actualpost|americanstylo|beautifulfashionnailart|dadinthemaking|glowandglamcorner|listofthis|lobirtech|travelperi|vepiv|seydisehirmansethaber|turkiyertg|tophotelsukraine|balatroltd|tenorminiuk|icryptowin|chronoat|ecoinfotec).com|(makego|sakazi|momge).net|askerlikforum.com.tr|forp.xyz)(\/.*)/ // @include /^(https?:\/\/)(.+)?((actualpost|americanstylo|beautifulfashionnailart|dadinthemaking|glowandglamcorner|listofthis|lobirtech|travelperi|vepiv|seydisehirmansethaber|turkiyertg|tophotelsukraine|balatroltd|tenorminiuk|icryptowin|chronoat|ecoinfotec).com|(makego|sakazi|momge).net|askerlikforum.com.tr|forp.xyz)(\/.*)/
@ -1957,6 +1958,7 @@
// hubcloud telegram link - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/185 // hubcloud telegram link - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/185
// /bloggingvector.shop\/re2/.test(url) ? redirect(atob(url.split('/re2/')[1])) : null; // /bloggingvector.shop\/re2/.test(url) ? redirect(atob(url.split('/re2/')[1])) : null;
/hubcloud.club\/tg\/go.php\?re=/.test(url) ? afterDOMLoaded(function() { document.body.innerHTML.trim().includes('Invalid Request - Please Come through Links again') ? setTimeout(() => {window.location.reload()}, 1500) : null}) : null;
// desiremovies.cymru // desiremovies.cymru
/gyanigurus.net\/view/.test(url) ? afterDOMLoaded(function() {clickIfExists('#show_button')}) : null; /gyanigurus.net\/view/.test(url) ? afterDOMLoaded(function() {clickIfExists('#show_button')}) : null;

View file

@ -198,6 +198,7 @@
// @include /psccapk.in|secure.bgmiupdate.com.in/ // @include /psccapk.in|secure.bgmiupdate.com.in/
// @include /www.spaste.com/ // @include /www.spaste.com/
// @include /click.convertkit-mail.com/ // @include /click.convertkit-mail.com/
// @include /hubcloud.club\/tg\/go.php\?re=/
// @run-at document-start // @run-at document-start
// ==/UserScript== // ==/UserScript==
@ -406,6 +407,7 @@
// hubcloud telegram link - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/185 // hubcloud telegram link - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/185
// /bloggingvector.shop\/re2/.test(url) ? redirect(atob(url.split('/re2/')[1])) : null; // /bloggingvector.shop\/re2/.test(url) ? redirect(atob(url.split('/re2/')[1])) : null;
/hubcloud.club\/tg\/go.php\?re=/.test(url) ? afterDOMLoaded(function() { document.body.innerHTML.trim().includes('Invalid Request - Please Come through Links again') ? setTimeout(() => {window.location.reload()}, 1500) : null}) : null;
// desiremovies.cymru // desiremovies.cymru
/gyanigurus.net\/view/.test(url) ? afterDOMLoaded(function() {clickIfExists('#show_button')}) : null; /gyanigurus.net\/view/.test(url) ? afterDOMLoaded(function() {clickIfExists('#show_button')}) : null;

View file

@ -734,6 +734,7 @@ https://paster.so/*
/psccapk.in|secure.bgmiupdate.com.in/ /psccapk.in|secure.bgmiupdate.com.in/
/www.spaste.com/ /www.spaste.com/
/click.convertkit-mail.com/ /click.convertkit-mail.com/
/hubcloud.club\/tg\/go.php\?re=/
/filecrypt.(cc|co)/ /filecrypt.(cc|co)/
/(mega-enlace|acortados).com/ /(mega-enlace|acortados).com/
/^(https?:\/\/)(.+)?((actualpost|americanstylo|beautifulfashionnailart|dadinthemaking|glowandglamcorner|listofthis|lobirtech|travelperi|vepiv|seydisehirmansethaber|turkiyertg|tophotelsukraine|balatroltd|tenorminiuk|icryptowin|chronoat|ecoinfotec).com|(makego|sakazi|momge).net|askerlikforum.com.tr|forp.xyz)(\/.*)/ /^(https?:\/\/)(.+)?((actualpost|americanstylo|beautifulfashionnailart|dadinthemaking|glowandglamcorner|listofthis|lobirtech|travelperi|vepiv|seydisehirmansethaber|turkiyertg|tophotelsukraine|balatroltd|tenorminiuk|icryptowin|chronoat|ecoinfotec).com|(makego|sakazi|momge).net|askerlikforum.com.tr|forp.xyz)(\/.*)/