javascript - Fill a Textbox with a Link? -
i have link , want prepare fill textbox value. link http://www.lolking.net/ , want if go site fill texbox write ("summore name..."). how can make this? must write script site ? or can prepare link fill textbox?
this question site textbox, name of textbox f12 , want prepare links how fill textbox
greetz
you reasonably write chrome extension this. you'd have add logic each site want work on, replacing text in box (i assume want automatically search summoner name) simple 1 line:
document.getelementsbyname("name")[0].value="<your summoner name>";
but example work on lolking.net. make more general, replace "name" in following way:
document.getelementsbyid("<input id>")[0].value="<replacement text>";