disable 2nd and 3rd page bypass from dropgalaxy cuz not working

This commit is contained in:
Amm0ni4 2024-05-20 16:06:56 +02:00
parent 6056cd2282
commit cbd3778e73
3 changed files with 26 additions and 26 deletions

View file

@ -4,7 +4,7 @@
// @run-at document-start
// @author Amm0ni4
// @noframes
// @version 92.0.1
// @version 92.0.2
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_addStyle

View file

@ -4,7 +4,7 @@
// @run-at document-start
// @author Amm0ni4
// @noframes
// @version 92.0.1
// @version 92.0.2
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_addStyle
@ -2010,18 +2010,18 @@
}
//dropgalaxy https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/2
/dropgalaxy.(com|co)\/drive/.test(url) ? afterDOMLoaded(function() {clickIfExists('#method_free')}) : null;
/dropgalaxy.(com|co)\/drive/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('#downloadbtn')}) : null;
/dropgalaxy.(com|co)\/drive/.test(url) ? afterDOMLoaded(function() {
var intervalId = setInterval(function() {// Keep checking if link is available, every 1s
var downloadUrl = document.getElementById('dllink').getAttribute('action');
if (downloadUrl) {
clearInterval(intervalId);
alert('Press OK to go to the download link:\n' + downloadUrl);
redirect(downloadUrl)
}
}, 1000);
}) : null;
/dropgalaxy.(com|co)\/drive/.test(url) ? afterDOMLoaded(function() {clickIfExists('#method_free')}) : null; //1st page
// /dropgalaxy.(com|co)\/drive/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('#downloadbtn')}) : null; //2nd page
// /dropgalaxy.(com|co)\/drive/.test(url) ? afterDOMLoaded(function() { //3rd page
// var intervalId = setInterval(function() {// Keep checking if link is available, every 1s
// var downloadUrl = document.getElementById('dllink').getAttribute('action');
// if (downloadUrl) {
// clearInterval(intervalId);
// alert('Press OK to go to the download link:\n' + downloadUrl);
// redirect(downloadUrl)
// }
// }, 1000);
// }) : null;
// short-ly.co https://github.com/FastForwardTeam/FastForward/issues/1363
/short-ly.co/.test(url) ? afterDOMLoaded(function() {redirectIfExists('.btn-secondary')}) : null;

View file

@ -315,18 +315,18 @@
}
//dropgalaxy https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/2
/dropgalaxy.(com|co)\/drive/.test(url) ? afterDOMLoaded(function() {clickIfExists('#method_free')}) : null;
/dropgalaxy.(com|co)\/drive/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('#downloadbtn')}) : null;
/dropgalaxy.(com|co)\/drive/.test(url) ? afterDOMLoaded(function() {
var intervalId = setInterval(function() {// Keep checking if link is available, every 1s
var downloadUrl = document.getElementById('dllink').getAttribute('action');
if (downloadUrl) {
clearInterval(intervalId);
alert('Press OK to go to the download link:\n' + downloadUrl);
redirect(downloadUrl)
}
}, 1000);
}) : null;
/dropgalaxy.(com|co)\/drive/.test(url) ? afterDOMLoaded(function() {clickIfExists('#method_free')}) : null; //1st page
// /dropgalaxy.(com|co)\/drive/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('#downloadbtn')}) : null; //2nd page
// /dropgalaxy.(com|co)\/drive/.test(url) ? afterDOMLoaded(function() { //3rd page
// var intervalId = setInterval(function() {// Keep checking if link is available, every 1s
// var downloadUrl = document.getElementById('dllink').getAttribute('action');
// if (downloadUrl) {
// clearInterval(intervalId);
// alert('Press OK to go to the download link:\n' + downloadUrl);
// redirect(downloadUrl)
// }
// }, 1000);
// }) : null;
// short-ly.co https://github.com/FastForwardTeam/FastForward/issues/1363
/short-ly.co/.test(url) ? afterDOMLoaded(function() {redirectIfExists('.btn-secondary')}) : null;