1
0
mirror of https://github.com/cydrobolt/polr.git synced 2024-11-10 04:02:28 +01:00
polr/select_url.js

13 lines
181 B
JavaScript
Raw Normal View History

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