您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Decode the value of the input field named "newwpsafelink" and redirect to the decoded URL after "safelink_redirect="
- // ==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);
- })();