您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Fixes an issue with the hero builder that removes the author note on mouseover
// ==UserScript== // @name Dota 2 Hero Build Editor: Author Note Fix // @version 0.1 // @description Fixes an issue with the hero builder that removes the author note on mouseover // @author Luxocracy // @match http://www.dota2.com/workshop/builds* // @grant GM_addStyle // @namespace https://gf.qytechs.cn/users/30239 // ==/UserScript== (function() { /*jshint multistr: true */ 'use strict'; GM_addStyle('\ #editTooltip.fixedTooltip {\ position: absolute;\ text-align: left;\ float: left;\ border: solid #000 1px;\ background-color: #111;\ width: 410px;\ padding: 12px;\ background: -moz-linear-gradient(top, #2e2e2d, #000000);\ z-index: 100;\ }'); var editTooltip; var observer = new MutationObserver(function(mutations) { mutations.forEach(function(mutation) { if(mutation.addedNodes.length > 0 && mutation.addedNodes[0].id === "editTooltip") { editTooltip = document.querySelector('#editTooltip'); editTooltip.className = 'fixedTooltip'; observer.disconnect(); } }); }); observer.observe(document.querySelector('body'), { childList: true, subtree: true }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址