1
0
mirror of https://github.com/cydrobolt/polr.git synced 2024-11-13 21:52:29 +01:00
polr/select_url.js

13 lines
181 B
JavaScript

function select_text()
{
var urlbox = document.getElementById("i");
if(urlbox)
{
urlbox.focus();
urlbox.select();
}
}
window.onload = select_text;