您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Adds a link to Genickbruch search on Cagematch wrestler profiles
// ==UserScript== // @name Cagematch to Genickbruch Link // @namespace http://tampermonkey.net/ // @version 1.0 // @description Adds a link to Genickbruch search on Cagematch wrestler profiles // @author Your Name // @match https://www.cagematch.net/?id=2&nr=* // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; // Get wrestler name from the page const nameElement = document.querySelector('h1'); if (!nameElement) return; const wrestlerName = nameElement.textContent.trim(); // Create Genickbruch search URL const genickbruchUrl = `https://www.genickbruch.com/index.php?befehl=suche&stanze=1&sname=${encodeURIComponent(wrestlerName)}`; // Create link element const link = document.createElement('a'); link.href = genickbruchUrl; link.textContent = 'Auf Genickbruch suchen'; link.target = '_blank'; link.style.marginLeft = '10px'; // Add link next to the wrestler's name nameElement.appendChild(link); })();