您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Добавляет кнопку "вверх" внизу страниц форума
// ==UserScript== // @name Virtonomica: Кнопка "вверх" для форума // @version 1.3 // @include http*://*virtonomic*.*/*/forum/* // @description Добавляет кнопку "вверх" внизу страниц форума // @grant none // @namespace virtonomica // ==/UserScript== var run = function() { var win = (typeof(unsafeWindow) != 'undefined' ? unsafeWindow : top.window); $ = win.$; //alert("begin"); var head = $("body"); head.append("<div style=\"cursor: pointer; font-size: 50pt; position: fixed; bottom: 10px; right: 10px;\" onclick=\"$('html, body').animate({ scrollTop: 0 }, 'fast');\">⇑</div>"); //alert("end"); } if(window.top == window) { var script = document.createElement("script"); script.textContent = '(' + run.toString() + ')();'; document.documentElement.appendChild(script); }