mirror of
https://github.com/cydrobolt/polr.git
synced 2024-11-14 14:12:29 +01:00
13 lines
181 B
JavaScript
13 lines
181 B
JavaScript
|
function select_text()
|
||
|
{
|
||
|
var urlbox = document.getElementById("i");
|
||
|
if(urlbox)
|
||
|
{
|
||
|
urlbox.focus();
|
||
|
urlbox.select();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
window.onload = select_text;
|
||
|
|