GaiaOnline - Marketplace Password Focus

Makes the Password field have focus

当前为 2014-07-11 提交的版本,查看 最新版本

// ==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; }
}

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址