Excite 翻訳のページでテキストエリアにフォーカスを当てる Greasemonkey スクリプト


Excite 翻訳のページでテキストエリアにフォーカスを当てる Greasemonkey スクリプト。

ExciteTranslationFocusTextField.user.js

// ==UserScript==
// @name           Excite Translation Focus TextField
// @namespace      http://bitmap.dyndns.org/
// @description    Focus TextField at Excite translation page
// @include        http://www.excite.co.jp/world/
// ==/UserScript==
(function() {
function initialize() {
document.getElementsByTagName("textarea")[0].focus();
}
window.addEventListener("load", initialize, true);
})();
カテゴリー: Greasemonkey, JavaScript   パーマリンク

コメントをどうぞ

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

*

次のHTML タグと属性が使えます: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>