Userscript: pass a variable to new page
Posted
by Anon
on Stack Overflow
See other posts from Stack Overflow
or by Anon
Published on 2010-06-10T16:39:03Z
Indexed on
2010/06/10
16:42 UTC
Read the original article
Hit count: 295
I am trying to pass a variable from one page, load another and enter that information. something Like this:
When 127.0.0.1/test.html&ID=1234
location.href = "127.0.0.1/newpage.html"
if (location.href == newpage.html){ var e = document.GetElementById("Loginbx"); e.Value = ID }
I don't have access to modify 127.0.0.1/test.html nor newpage.html but would like to pass variables to them from another. Is this possible?
© Stack Overflow or respective owner