您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Clicks the "Or continue with download only" and/or "Close" buttons on DropBox's sign-in nag dialogs
// ==UserScript== // @name DropBox Download Continue Clicker // @namespace Violentmonkey Scripts // @match *://*.dropbox.com/* // @grant none // @version 1.0 // @author Leak // @description Clicks the "Or continue with download only" and/or "Close" buttons on DropBox's sign-in nag dialogs // @license MIT // ==/UserScript== (function() { function mutated(records){ const button = [...document.querySelectorAll("button[data-dig-button=true]")] .find(x => x.innerText === "Or continue with download only" || x.innerText === "Close"); if (button) button.click(); } const observer = new MutationObserver(mutated); observer.observe(document.body, { subtree: true, childList: true }); })()