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

Firefox minor bug (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 .


If you open an HTML file with this code and remove the focus from the browser, for example, by clicking on an empty space under the Start button, and then back to the browser, then it will be impossible to enter anything in any text field on all tabs, including address field.

')

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


All Articles