您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Adds a floating button that gets the magnet link when pressed and blocks pop-up windows
This Tampermonkey script adds a floating button to the CracksHash website that retrieves the magnet link when pressed. It also includes a popup blocker to prevent unwanted pop-up windows. The script features a settings menu for customizing the button's text, background color, and position.
// ==UserScript==
// @name CracksHash Magnet Getter with Popup Blocker
// @namespace http://tampermonkey.net/
// @version 1.7
// @description Adds a floating button that gets the magnet link when pressed and blocks pop-up windows
// @author ThatDudeJBob
// @match *://crackshash.com/*
// @grant none
// ==/UserScript==
The script uses localStorage to save and retrieve the button's text, background color, and position.
The script overrides the window.open
method to detect blocked pop-ups and display a warning if a pop-up is blocked.
beforeunload
and unload
events to prevent pop-ups.