Continue the script with another page.

View: New views
1 Messages — Rating Filter:   Alert me  

Continue the script with another page.

by Death4ngel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, I'm using Greasemonkey for my Javascript.

I want to know if the script is restarted every time the page is changed.

Can I do the following code?

Some Javascript

document.location = "some website"

Somemore Javascript.

After it loaded some website, will the whole script restart? Can I make it continue from the 2nd part instead?

Thanks.

EDIT: The thing is I'm trying to pass some variables from page 1 to page 2.