您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Makes the Password field have focus
// ==UserScript== // @name GaiaOnline - Marketplace Password Focus // @namespace http://userscripts.org/users/126924 // @description Makes the Password field have focus // @include http://www.gaiaonline.com/marketplace/userstore/*/buy/* // @include http://gaiaonline.com/marketplace/userstore/*/buy/* // @version 0.0.1.20140711222749 // ==/UserScript== els = document.getElementsByClassName("marketplaceInputField") for( var i = 0; i < els.length; i++ ){ if( els[i].name == "password" ){ els[i].focus(); break; } }