LinkSpy concatenated with clicksfly.com Bypass

Redirects from LinkSpy shortened URLs to the original URLs before any content is loaded.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         LinkSpy concatenated with clicksfly.com Bypass
// @version      1.1
// @description  Redirects from LinkSpy shortened URLs to the original URLs before any content is loaded.
// @author       Rust1667
// @match        https://linkspy.cc/tr/*
// @run-at       document-start
// @grant        none
// @namespace https://greasyfork.org/users/980489
// ==/UserScript==

// Example link:
// https://linkspy.cc/tr/aHR0cHM6Ly9jbGlja3NmbHkuY29tL2Z1bGw/YXBpPWNhMDNkN2Q1YzBjODgzMzViMGY5YmVmZDkyMWQ5YWYxMWZmZmM4OTEmdXJsPWFIUjBjSE02THk5M2QzY3VabWxzWldOeWVYQjBMbU5qTDBOdmJuUmhhVzVsY2k5RlFrTTVSRE5GUkVZNUxtaDBiV3c9JnR5cGU9Mg==
// Decoded to:
// https://clicksfly.com/full?api=ca03d7d5c0c88335b0f9befd921d9af11fffc891&url=aHR0cHM6Ly93d3cuZmlsZWNyeXB0LmNjL0NvbnRhaW5lci9FQkM5RDNFREY5Lmh0bWw=&type=2
// Decoded to:
// https://www.filecrypt.cc/Container/EBC9D3EDF9.html

(function() {
    'use strict';
    if ( window.location.href.startsWith('https://linkspy.cc/tr/') ) {

      //----Bypass linkspy.cc----
      var encodedUrl = window.location.href.split('/tr/')[1];
      var decodedUrl = atob(encodedUrl);
      if (!decodedUrl.startsWith('https://clicksfly.com/')) {
        window.location.assign(decodedUrl);

      //----Bypass clicksfly.com----
      } else if (decodedUrl.startsWith('https://clicksfly.com/')) {
        var urlParam = new URLSearchParams(decodedUrl).get('url');
        var decodedURL2 = atob(urlParam);
        window.location.assign(decodedURL2);
      }
    }

})();