From 6358dab549ec7ab04d4b9f32ca0dfba7e4c600f5 Mon Sep 17 00:00:00 2001 From: Amm0ni4 Date: Tue, 22 Oct 2024 11:30:02 +0200 Subject: [PATCH] fix spacetica --- Bypass_All_Shortlinks.user.js | 6 +++++- extra_bypasses/extra_bypasses.user.js | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index 083d5bf..00024ec 100644 --- a/Bypass_All_Shortlinks.user.js +++ b/Bypass_All_Shortlinks.user.js @@ -2329,7 +2329,11 @@ //pahe.ink final step /linegee.net|intercelestial.com/.test(url) ? preventForcedFocusOnWindow() : null; - ///spacetica.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('.btn-primary')}) : null; + /spacetica.com/.test(url) ? afterDOMLoaded(function() { + if (!document.querySelector('.form-group')){ + clickIfExists('a.btn-primary.btn-xs'); + } + }) : null; /pahe.plus/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('#invisibleCaptchaShortlink')}) : null; /pahe.plus/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null; diff --git a/extra_bypasses/extra_bypasses.user.js b/extra_bypasses/extra_bypasses.user.js index bac97d8..804e932 100644 --- a/extra_bypasses/extra_bypasses.user.js +++ b/extra_bypasses/extra_bypasses.user.js @@ -778,7 +778,11 @@ //pahe.ink final step /linegee.net|intercelestial.com/.test(url) ? preventForcedFocusOnWindow() : null; - ///spacetica.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('.btn-primary')}) : null; + /spacetica.com/.test(url) ? afterDOMLoaded(function() { + if (!document.querySelector('.form-group')){ + clickIfExists('a.btn-primary.btn-xs'); + } + }) : null; /pahe.plus/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('#invisibleCaptchaShortlink')}) : null; /pahe.plus/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null;