Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // 1. Go to https://www.google.com/
- window.location.href="https://www.google.com/";
- // 2. Open login modal (from the left side menu)
- document.getElementById('m1jtnw-reveal').click();
- // 3. N/A
- // 4. Click Log in button
- $("#loginform .expanded").click();
- // 5. N/A
- // 6. Fill in both fields with fake data
- function fill(a){
- for(var k in a){
- $('[name="'+k+'"]').val(a[k]);
- }
- }
- array_example = {"login":"gfdgdf","password":"Spirgdfgdfgit"};
- fill(array_example);
- // 7. Click Log in button
- $("#loginform .expanded").click();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement