您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
enter something useful
当前为
// ==UserScript== // @name Hummingbird Compare // @version 1.1 // @description enter something useful // @match http*://hummingbird.me/* // @match http*://forums.hummingbird.me/* // @require https://gf.qytechs.cn/scripts/5679-wait-for-elements/code/Wait%20For%20Elements.js?version=21043 // @namespace https://gf.qytechs.cn/users/649 // ==/UserScript== var process = function(btn) { btn = $(btn); //clear the "Coming Soon" hover text btn.parent().addClass('hidetooltip'); //get two user names var userlink = $('ul.right-nav-section:last li:first a:first').attr('href'); if (!userlink) // they're on the forums and the selector is different var userlink = $('ul.user-dropdown-links li:first a:first').attr('href'); var user1 = userlink.substring(userlink.lastIndexOf('/') + 1, userlink.length); var user2 = $('h1.username:first').text().trim(); //add link btn.attr('href', 'http://fuzetsu.github.io/hummingbird-user-compare/?user1=' + user1 + '&user2=' + user2); btn.attr('target', '_blank'); btn.attr('title', ''); } //css to hide tooltip $('<style type="text/css">.hidetooltip div { display:none }</style>').appendTo('head'); waitForElems('div.account-info ul.inline-list li:nth-child(1) a', process, false);
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址