< script > var t= document .getElementById( "t" ); t.onblur = function () { t.blur(); } t.focus();

Firefoxのマイナーバグ(3.0.6)

< input type ="text" id ="t" />

< script >
var t= document .getElementById( "t" );
t.onblur = function () {
t.blur();
}
t.focus();
</ script >

* This source code was highlighted with Source Code Highlighter .


このコードでHTMLファイルを開き、たとえば[スタート]ボタンの下の空のスペースをクリックしてブラウザーからフォーカスを削除してからブラウザーに戻ると、すべてのタブのテキストフィールドに何も入力できなくなります。アドレス入力フィールド。


Source: https://habr.com/ru/post/J51745/


All Articles