Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PULL REQUEST] Add bypasses + a fix #1272

Closed
wants to merge 4 commits into from

Conversation

kiraio-moe
Copy link
Contributor

@kiraio-moe kiraio-moe commented Dec 6, 2023

  • I made sure there are no unnecessary changes in the code;
  • Tested on Chromium (Includes Opera, Brave, Vivaldi, Edge, etc);
  • Tested on Firefox.

Improvements:

  • Add EditorConfig to preserve Code Style.
  • Add bypasses for link1s.com (fix Link1s #40) & sh.st (fix shorte.st #227). Tried the best.

Comment on lines 168 to 192
export function awaitElement (selector, callback) {
return new Promise(resolve => {
const element = document.querySelector(selector)
if (element) {
console.log(`[FastForward] Element found: ${element}`)
callback(element)
resolve(element)
return
}

const observer = new MutationObserver(() => {
Array.from(document.querySelectorAll(selector)).forEach(el => {
console.log(`[FastForward] Element found: ${el}`)
callback(el)
resolve(el)
observer.disconnect()
})
})

observer.observe(document.documentElement, {
attributes: true,
childList: true,
subtree: true
})
})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes to the awaitElement function can be a separate PR, this will probably break a lot of other bypasses

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I'll separate it.

Copy link

github-actions bot commented Dec 6, 2023

Download the artifacts for this pull request:

@kiraio-moe kiraio-moe changed the title [PULL REQUEST] Fixes and add a bypass [PULL REQUEST] Add bypasses + a fix Dec 7, 2023
- Skip all timer
- Ad block bypass

Signed-off-by: Bayu Satiyo <[email protected]>
@kiraio-moe
Copy link
Contributor Author

Don't merge this yet, I want to add more bypasses form here.

@GITHUBTRASHACCOUNT
Copy link

add mboost.me bypass also and fix linkvertise use bypass.city
all liscense to code MIT

MBOOST BYPASS:
// @match https://mboost.me/*/*
// @grant none
// @license MIT
// ==/UserScript==

(function() {
// Find all script elements on the page
const scripts = document.getElementsByTagName('script');

// Loop through all script elements
for (let i = 0; i < scripts.length; i++) {
    const script = scripts[i];
    const scriptContent = script.innerHTML;

    // Check if the script contains the targeturl pattern
    if (scriptContent.includes('"targeturl":')) {
        // Extract the link from the script content
        const targeturlRegex = /"targeturl":\s*"(.*?)"/;
        const match = scriptContent.match(targeturlRegex);

        if (match && match.length > 1) {
            const redirectLink = match[1];

            // Redirect to the extracted link
            window.location.replace(redirectLink);
            break;
        }
    }
}

LOOTLINK BYPASS:

[Working] loot-link.com bypasser (includes all lootlabs.gg link variations)

bypasses loot-link.com quickly and efficiently, saving you time and energy.

// @match https://loot-link.com/s?*
// @match https://loot-links.com/s?*
// @match https://lootlinks.co/s?*
// @match https://lootdest.info/s?*
// @match https://lootdest.org/s?*
// @match https://links-loot.com/s?*
// @match https://linksloot.net/s?*
// @run-at document-end
// @downloadurl https://update.greasyfork.org/scripts/483207/%5BWorking%5D%20loot-linkcom%20bypasser%20%28includes%20all%20lootlabsgg%20link%20variations%29.user.js
// @updateURL https://update.greasyfork.org/scripts/483207/%5BWorking%5D%20loot-linkcom%20bypasser%20%28includes%20all%20lootlabsgg%20link%20variations%29.meta.js
// ==/UserScript==

(function () {
if (typeof p == 'object' && p?.PUBLISHER_LINK) {
window.location.assign(p['PUBLISHER_LINK']);
}

@GITHUBTRASHACCOUNT
Copy link

add filedm bypass soon

@grant
Copy link

grant commented Jan 9, 2024

Stop! Don't @ mention me.

@kiraio-moe
Copy link
Contributor Author

add mboost.me bypass also and fix linkvertise use bypass.city all liscense to code MIT

MBOOST BYPASS: // @match https://mboost.me/*/* // @grant none // @license MIT // ==/UserScript==

(function() { // Find all script elements on the page const scripts = document.getElementsByTagName('script');

// Loop through all script elements
for (let i = 0; i < scripts.length; i++) {
    const script = scripts[i];
    const scriptContent = script.innerHTML;

    // Check if the script contains the targeturl pattern
    if (scriptContent.includes('"targeturl":')) {
        // Extract the link from the script content
        const targeturlRegex = /"targeturl":\s*"(.*?)"/;
        const match = scriptContent.match(targeturlRegex);

        if (match && match.length > 1) {
            const redirectLink = match[1];

            // Redirect to the extracted link
            window.location.replace(redirectLink);
            break;
        }
    }
}

LOOTLINK BYPASS:

[Working] loot-link.com bypasser (includes all lootlabs.gg link variations)

bypasses loot-link.com quickly and efficiently, saving you time and energy.

// @match https://loot-link.com/s?* // @match https://loot-links.com/s?* // @match https://lootlinks.co/s?* // @match https://lootdest.info/s?* // @match https://lootdest.org/s?* // @match https://links-loot.com/s?* // @match https://linksloot.net/s?* // @run-at document-end // @downloadurl https://update.greasyfork.org/scripts/483207/%5BWorking%5D%20loot-linkcom%20bypasser%20%28includes%20all%20lootlabsgg%20link%20variations%29.user.js // @updateURL https://update.greasyfork.org/scripts/483207/%5BWorking%5D%20loot-linkcom%20bypasser%20%28includes%20all%20lootlabsgg%20link%20variations%29.meta.js // ==/UserScript==

(function () { if (typeof p == 'object' && p?.PUBLISHER_LINK) { window.location.assign(p['PUBLISHER_LINK']); }

Thanks for the reference.

@undeadjess
Copy link
Member

@kiraio-moe Are you still working on this?

@kiraio-moe
Copy link
Contributor Author

@kiraio-moe Are you still working on this?

I don't have time to work on this ATM. Sorry. I'm really busy in my RL job :(

@danilonovaisv
Copy link

Danilo pull

@lostdusty
Copy link
Contributor

I'll close this one then, if you got time & still interested, just let us know.

@lostdusty lostdusty closed this Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Link1s shorte.st
7 participants