您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Auto-click the buttons and redirect to the download link.
// ==UserScript== // @name cybertyrant.com -and others- link shortener auto-skipper // @version 1.2 // @description Auto-click the buttons and redirect to the download link. // @author Rust1667 // @match *://cybertyrant.com/* // @match *://profitshort.com/* // @match *://courselinkfree.us/* // @match *://technorozen.com/* // @match *://hubdrive.me/* // @match *://bestadvise4u.com/* // @match *://newztalkies.com/* // @match *://10desires.org/* // @match *://theapknews.shop/* // @match *://aiotechnical.com/* // @match *://cryptonewzhub.com/* // @match *://trendzguruji.me/* // @match *://techvybes.com/* // @match *://wizitales.com/* // @match *://101desires.com/* // @match *://gdspike.com/* // @grant none // @namespace https://greasyfork.org/users/980489 // ==/UserScript== (function() { 'use strict'; // Variable to store the interval ID var intervalId; // Variable to track whether the link is found var linkFound = false; // Function to check and redirect, and simulate a click if 'rd_btn' is found function checkRedirectAndClick() { // If the link is found, stop the interval if (linkFound) { clearInterval(intervalId); return; } // Find the element with class 'rd_btn' var rdBtnElement = document.querySelector('.rd_btn'); // Check if the element is found and contains an href attribute if (rdBtnElement && rdBtnElement.href) { var rdBtnHref = rdBtnElement.href; if (rdBtnHref.includes("/?re=")) { // Show the link in an alert alert("Download link: " + rdBtnHref); } // Redirect the current window to the href link window.location.href = rdBtnHref; // Set the linkFound variable to true linkFound = true; // Stop the interval once the link is found clearInterval(intervalId); } else if (rdBtnElement) { console.log("trying to click..."); // Simulate a click on the 'rd_btn' element rdBtnElement.click(); } } // Start the interval and store the interval ID intervalId = setInterval(checkRedirectAndClick, 1000); // Check every 1000 milliseconds (1 second) })();