您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Bypass the timer on IDriveSafely.com
当前为
// ==UserScript== // @name IDriveSafely.com Timer Bypass // @namespace Timer Bypass 2 // @version 1.0 // @description Bypass the timer on IDriveSafely.com // @author John Dow // @match https://app.idrivesafely.com/* // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; console.log("started"); let videoPlayed = false; // Flag to track if the video has been played let continueLearningButton=false; // Function to handle the button clicks function clickButtons() { console.log("running"); // Check for the "continue Learning Button" button and click it once if (!continueLearningButton) { var mainContinueButton = document.querySelector('[data-test="continueLearningButton"]'); if (mainContinueButton) { console.log("main continue button pressed"); mainContinueButton.click(); continueLearningButton = true; // Set flag to true after clicking } } // Check for the "Play Video" button and click it once if (!videoPlayed) { var playVideoButton = document.querySelector('[title="Play Video"]'); if (playVideoButton) { console.log("video played"); playVideoButton.click(); videoPlayed = true; // Set flag to true after clicking } } // Auto-click the right arrow every 5 seconds var arrowButton = document.querySelector('#arrow-next'); if (arrowButton) { arrowButton.click(); videoPlayed = false; // Reset the flag after clicking the arrow button continueLearningButton=false; } } // Run the function every 5 seconds setInterval(clickButtons, 5000); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址