Is there a way to fill in the information needed for login to a specific web page automatically so all the have to do is click log in.
Account information auto filled in
Re: Account information auto filled in
I have tried that but it does not seem to work. This is the URL for the site https://seminolestate.campus.eab.com/se ... irect=true and I added the signinfilter.txt to the end but it does not work.
Re: Account information auto filled in
If the following values are not present, add them to your INI file.
In the filter file (signinfilter.txt):
In the JavaScript file (signinjavascript.txt):
The filter file has PWB analyze each URL, specifically for one that starts with "https://seminolestate.campus.eab.com/session/new", and when it matches inject the JavaScript from the "signinjavascript.txt" file.
This will fill in the "login" element with "john" and the "password" element with "letmein" and then click the "commit" element.
Notice we had to use the get element by name in the second command as the "commit" element does not have an ID.
--Scott
Code: Select all
[Files]
JavaScriptFilterFile=signinfilter.txt
[Security]
CheckJavaScriptAccess=True
Code: Select all
-all
+^https://seminolestate.campus.eab.com/session/new signinjavascript.txt
Code: Select all
document.getElementById('login').value='john';
document.getElementById('password').value='letmein';
document.getElementsByName('commit')[0].click();
This will fill in the "login" element with "john" and the "password" element with "letmein" and then click the "commit" element.
Notice we had to use the get element by name in the second command as the "commit" element does not have an ID.
--Scott
Re: Account information auto filled in
Here are the files we tested with.
--Scott
--Scott
- Attachments
-
- signinjavascript.txt
- (153 Bytes) Downloaded 1453 times
-
- signinfilter.txt
- (79 Bytes) Downloaded 1431 times
-
- PWB.INI
- (6.57 KiB) Downloaded 1427 times
Re: Account information auto filled in
Thank you.
Re: Account information auto filled in
For those wanting to suppress the "Manage Cookie Preferences" when using the III Vega catalog and the PWB Clear Cache on Close, attached are the filter files to do it.