您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Highlights the item name in your shop and SDB when you hover over it for quick and easy copying
// ==UserScript== // @name Grundos.Cafe - Highlight Item Names On Hover // @namespace Gorix [Jawsch] // @description Highlights the item name in your shop and SDB when you hover over it for quick and easy copying // @match http*://www.grundos.cafe/market/* // @match http*://www.grundos.cafe/safetydeposit/* // @version 1.0 // ==/UserScript== [].forEach.call(document.body.querySelectorAll('td[class="sdbname"]:first-child'), function (e) { e.addEventListener("mouseover", function () { var selection = window.getSelection(); var range = document.createRange(); range.selectNodeContents(e.querySelector('b')); selection.removeAllRanges(); selection.addRange(range); }) });