mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2024-12-29 16:33:02 +05:00
disable 2nd and 3rd page bypass from dropgalaxy cuz not working
This commit is contained in:
parent
6056cd2282
commit
cbd3778e73
3 changed files with 26 additions and 26 deletions
|
@ -4,7 +4,7 @@
|
||||||
// @run-at document-start
|
// @run-at document-start
|
||||||
// @author Amm0ni4
|
// @author Amm0ni4
|
||||||
// @noframes
|
// @noframes
|
||||||
// @version 92.0.1
|
// @version 92.0.2
|
||||||
// @grant GM_setValue
|
// @grant GM_setValue
|
||||||
// @grant GM_getValue
|
// @grant GM_getValue
|
||||||
// @grant GM_addStyle
|
// @grant GM_addStyle
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// @run-at document-start
|
// @run-at document-start
|
||||||
// @author Amm0ni4
|
// @author Amm0ni4
|
||||||
// @noframes
|
// @noframes
|
||||||
// @version 92.0.1
|
// @version 92.0.2
|
||||||
// @grant GM_setValue
|
// @grant GM_setValue
|
||||||
// @grant GM_getValue
|
// @grant GM_getValue
|
||||||
// @grant GM_addStyle
|
// @grant GM_addStyle
|
||||||
|
@ -2010,18 +2010,18 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
//dropgalaxy https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/2
|
//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() {clickIfExists('#method_free')}) : null; //1st page
|
||||||
/dropgalaxy.(com|co)\/drive/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('#downloadbtn')}) : null;
|
// /dropgalaxy.(com|co)\/drive/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('#downloadbtn')}) : null; //2nd page
|
||||||
/dropgalaxy.(com|co)\/drive/.test(url) ? afterDOMLoaded(function() {
|
// /dropgalaxy.(com|co)\/drive/.test(url) ? afterDOMLoaded(function() { //3rd page
|
||||||
var intervalId = setInterval(function() {// Keep checking if link is available, every 1s
|
// var intervalId = setInterval(function() {// Keep checking if link is available, every 1s
|
||||||
var downloadUrl = document.getElementById('dllink').getAttribute('action');
|
// var downloadUrl = document.getElementById('dllink').getAttribute('action');
|
||||||
if (downloadUrl) {
|
// if (downloadUrl) {
|
||||||
clearInterval(intervalId);
|
// clearInterval(intervalId);
|
||||||
alert('Press OK to go to the download link:\n' + downloadUrl);
|
// alert('Press OK to go to the download link:\n' + downloadUrl);
|
||||||
redirect(downloadUrl)
|
// redirect(downloadUrl)
|
||||||
}
|
// }
|
||||||
}, 1000);
|
// }, 1000);
|
||||||
}) : null;
|
// }) : null;
|
||||||
|
|
||||||
// short-ly.co https://github.com/FastForwardTeam/FastForward/issues/1363
|
// short-ly.co https://github.com/FastForwardTeam/FastForward/issues/1363
|
||||||
/short-ly.co/.test(url) ? afterDOMLoaded(function() {redirectIfExists('.btn-secondary')}) : null;
|
/short-ly.co/.test(url) ? afterDOMLoaded(function() {redirectIfExists('.btn-secondary')}) : null;
|
||||||
|
|
|
@ -315,18 +315,18 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
//dropgalaxy https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/2
|
//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() {clickIfExists('#method_free')}) : null; //1st page
|
||||||
/dropgalaxy.(com|co)\/drive/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('#downloadbtn')}) : null;
|
// /dropgalaxy.(com|co)\/drive/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('#downloadbtn')}) : null; //2nd page
|
||||||
/dropgalaxy.(com|co)\/drive/.test(url) ? afterDOMLoaded(function() {
|
// /dropgalaxy.(com|co)\/drive/.test(url) ? afterDOMLoaded(function() { //3rd page
|
||||||
var intervalId = setInterval(function() {// Keep checking if link is available, every 1s
|
// var intervalId = setInterval(function() {// Keep checking if link is available, every 1s
|
||||||
var downloadUrl = document.getElementById('dllink').getAttribute('action');
|
// var downloadUrl = document.getElementById('dllink').getAttribute('action');
|
||||||
if (downloadUrl) {
|
// if (downloadUrl) {
|
||||||
clearInterval(intervalId);
|
// clearInterval(intervalId);
|
||||||
alert('Press OK to go to the download link:\n' + downloadUrl);
|
// alert('Press OK to go to the download link:\n' + downloadUrl);
|
||||||
redirect(downloadUrl)
|
// redirect(downloadUrl)
|
||||||
}
|
// }
|
||||||
}, 1000);
|
// }, 1000);
|
||||||
}) : null;
|
// }) : null;
|
||||||
|
|
||||||
// short-ly.co https://github.com/FastForwardTeam/FastForward/issues/1363
|
// short-ly.co https://github.com/FastForwardTeam/FastForward/issues/1363
|
||||||
/short-ly.co/.test(url) ? afterDOMLoaded(function() {redirectIfExists('.btn-secondary')}) : null;
|
/short-ly.co/.test(url) ? afterDOMLoaded(function() {redirectIfExists('.btn-secondary')}) : null;
|
||||||
|
|
Loading…
Reference in a new issue