Hi
I wonder can someone help to suggest a way to interact with a webpage to perform a log in.
I have been working on the following javascript (very simple - to suit my ability!):
javascript:
window.open('void(0);
window.onload = function login() {
MainFrame.document.Form.username.value='username';
MainFrame.document.Form.password.value='password';
MainFrame.LoginClick();}();
With this I am getting the page loaded but it does not perform the log in.
When I separate the two parts out as follows I can run one bookmarklet to open the page and another to perform the login (and it works!) but I have no idea how to get both to run together in one bookmarklet.
javascript:
window.open('
javascript:
MainFrame.document.Form.username.value='username';
MainFrame.document.Form.password.value='password';
MainFrame.LoginClick();
Any ideas / suggestions very welcome. Thanks.
I wonder can someone help to suggest a way to interact with a webpage to perform a log in.
I have been working on the following javascript (very simple - to suit my ability!):
javascript:
window.open('void(0);
window.onload = function login() {
MainFrame.document.Form.username.value='username';
MainFrame.document.Form.password.value='password';
MainFrame.LoginClick();}();
With this I am getting the page loaded but it does not perform the log in.
When I separate the two parts out as follows I can run one bookmarklet to open the page and another to perform the login (and it works!) but I have no idea how to get both to run together in one bookmarklet.
javascript:
window.open('
javascript:
MainFrame.document.Form.username.value='username';
MainFrame.document.Form.password.value='password';
MainFrame.LoginClick();
Any ideas / suggestions very welcome. Thanks.