How to change the name field of an <input> in an AJAX-driven page?
For this target page (Sorry but SO doesn't allow hyperlinks to 62.0.54.118): http://62.0.54.118/search?&q=42&oq=42&sourceid=chrome&ie=UTF-8&filter=0 , I want to change the name field of an <input> by default with a userscript. The input is: <input class="gsfi" id="lst-ib" name="q" maxlength="2048" value="42"...> I want to change it to: <input class="gsfi" id="lst-ib" name="&q" maxlength="2048" value="42"...> That is, I Want to change the q into &q in the name field of the input by default. I try to write a script, (that doesn't work): // ==UserScript== // @name Normal Google Input // @include