hello, i have a problem and i have no idea how to solve it. In Chrome, the login page on my schools educational online platform doesn't remember the login info. So i made a bookmark with this javascript injection, that fills in the info, and focusses on the 'aanmelden' button (='login' in dutch), so that i only have to press enter to continue. This is the website: http://toledo.katho.be Code (markup): Here's the javascript injection: javascript: document.getElementById('username').value='23889493984';document.getElementById('password').value='442384985';return false;document.getElementById('login').focus(); Code (markup): This works fine but i'd like to make it happen faster. I wish i could let the script be activated instantly when the page loads, so i only have to press enter, or if possible, let the script click the login button itself. I'd be very thankfully if one of you guys could help me out thanks
There's no way i can do that. I have no control over the site. It's not my site, i can only use it. The only piece of code i can use is a javascript injection..
omg that did it!!! thank you so much! there's only 1 problem left: When im allready logged in, it tells me the session has expired ('sessie vervallen' in dutch), and i have to How could i solve that?
just re open that html file problem is u can't track/close sessions using javascript or from your side that will be from that server
i dont understand i think its better to just check if im logged in, and if not, open the html file, instead of logging out and in again and again
so heres whats has to be done: - if i'm allready logged in, i just have to visit http://toledo.katho.be - if i'm not logged in yet, the html file has to be opened. But where do i put the code that checks for this?