您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Redirects directly to the final page without "Yes, I confirmed"
// ==UserScript== // @name Skip Go to // @namespace Violentmonkey Scripts // @match *://forums.socialmediagirls.com/goto/* // @icon https://cdn0.iconfinder.com/data/icons/arrow-2-1/512/826-21-512.png // @grant none // @run-at document-start // @version 0.1 // @author drak4r // @description Redirects directly to the final page without "Yes, I confirmed" // @license GPLv3 // ==/UserScript== (function() { 'use strict'; // Wait for the document to be completely loaded window.addEventListener('load', function() { // Select the link that contains the specific class const link = document.querySelector('a.button--cta.button'); // Checks if the link exists if (link) { // Capture the href URL const url = link.href; // Redirects to the captured URL window.location.href = url; } }); })();