Greasy Fork is available in English.

Toolss.net Bypass

Decode the value of the input field named "newwpsafelink" and redirect to the decoded URL after "safelink_redirect="

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         Toolss.net Bypass
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Decode the value of the input field named "newwpsafelink" and redirect to the decoded URL after "safelink_redirect="
// @author       You
// @match        toolss.net
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';

    // Function to decode the base64 value and extract the URL after "safelink_redirect="
    function decodeAndRedirect() {
        // Get the input element with name "newwpsafelink"
        var inputElement = document.querySelector('input[name="newwpsafelink"]');
        if (inputElement) {
            var base64Value = inputElement.value;
            // Decode the base64 value
            var decodedValue = atob(base64Value);
            // Find the index of "safelink_redirect="
            var index = decodedValue.indexOf("safelink_redirect=");
            if (index !== -1) {
                // Extract the URL after "safelink_redirect="
                var urlStartIndex = index + "safelink_redirect=".length;
                var redirectUrl = decodedValue.substring(urlStartIndex).split('"')[0];
                // Redirect to the decoded URL
                window.location.href = "https://toolss.net?safelink_redirect=" + redirectUrl;
            }
        }
    }

    // Call the decodeAndRedirect function when the page loads
    window.addEventListener('load', decodeAndRedirect);

})();