Calling function via the address bar


Is there any way to call a js function via something like:

Also, I have a Scroller script thats being called onload by the body and another custom function called onload by the window however I’m running into trouble calling the scroller.

Any help on these issues is greatly appreciated.


You mean that one of the window.onload is overwriting the other one? If window.onload is redefined, then the last one will overwrite the first one.

If you are viewing a page that contains javascript functions you can execute one of them from the address bar like this:


or you can do something like this: