您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Add sticky table headers to Wikipedia
// ==UserScript== // @name Wikipedia Sticky Table Headers // @namespace infernozeus/wikipedia-sticky-table-headers // @description Add sticky table headers to Wikipedia // @match http://*.wikipedia.org/* // @match https://*.wikipedia.org/* // @version 1 // @grant GM_addStyle // @require https://code.jquery.com/jquery-1.12.0.min.js // @require https://greasyfork.org/scripts/2199-waitforkeyelements/code/waitForKeyElements.js?version=6349 // @require https://cdnjs.cloudflare.com/ajax/libs/floatthead/1.3.2/jquery.floatThead.min.js // ==/UserScript== waitForKeyElements ("table.jquery-tablesorter", floatTableHeaders, true); function floatTableHeaders(table){ $(table).floatThead(); }