verpeliculasonline.org subtituladas.com link shortener auto-bypass

Redirects to URL the destination URL bypassing the link shorteners

2024-01-26 기준 버전입니다. 최신 버전을 확인하세요.

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

// ==UserScript==
// @name         verpeliculasonline.org subtituladas.com link shortener auto-bypass
// @version      1.1
// @description  Redirects to URL the destination URL bypassing the link shorteners
// @author       Rust1667
// @match        https://subtituladas.com/enlace/*
// @match        https://verpeliculasonline.org/enlace/*
// @grant        none
// @namespace https://greatest.deepsurf.us/users/980489
// ==/UserScript==

(function() {
    'use strict';

    // Find the URL within the <a> element
    var linkElement = document.getElementById('link');
    if (linkElement) {
        var linkUrl = linkElement.href;

        // Check if '?s=' exists in the URL
        if (linkUrl.includes('?s=')) {
            var sIndex = linkUrl.indexOf('?s=') + 3; // 3 is the length of '?s='
            var extractedUrl = linkUrl.substring(sIndex);

            // Redirect to the extracted URL
            window.location.href = extractedUrl;
        } else {
            // Redirect to the full URL
            window.location.href = linkUrl;
        }
    } else {
        console.log("Link element not found.");
    }
})();