您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Aggiungi pulsante per tornare all'inizio di ogni pagina.
当前为
// ==UserScript== // @name Back to Top figuccio // @author figuccio // @namespace https://gf.qytechs.cn/users/237458 // @description Aggiungi pulsante per tornare all'inizio di ogni pagina. // @version 1.7 // @include * // @noframes // ==/UserScript== // Create black to top(stringa13 line-height:19px;evita ingrandimento del pulsante su alcuni siti) var a = document.createElement('span'); a.innerHTML = "🡹"; var c ='opacity:0.8;position:fixed;text-align:right;right:0px;bottom:15px;z-index:50000;color:red!important;background-color:green;border:2px solid blue;line-height:19px;padding:6px 15px;font-size:11pt;cursor:pointer;font-weight:bold;text-decoration:none;border-radius:12px;'; a.style.cssText = c; a.title = 'sali in alto'; a.addEventListener('mouseover', function(){ a.style.opacity = 1;}, false); a.addEventListener('mouseover', function(){ a.style.right = '0';}, false); a.addEventListener('mouseout', function(){ a.style.opacity = 0.8; }, false); a.addEventListener('mouseout', function(){ a.style.right = '-40px'; }, false); a.addEventListener('click', function(){ window.scrollTo(0,0);}); document.body.appendChild(a); //pulsante ha scomparsa (function gotop(){ if (document.body.scrollTop > 500 || document.documentElement.scrollTop > 500) { a.style.display = 'block';} else {a.style.display = 'none';} setTimeout(gotop,1); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址