Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function() {
- var els = window.frames["mainFrame"].document.getElementById("pcp_PasswordInfoHandler:doShowpassword");
- if (els.length == 0) {
- console.log("Button not found");
- } else {
- els.click();
- var inter = window.setInterval(function() {
- var user = window.frames["mainFrame"].document.querySelector('#inp_mlabs_credential_login > div.field-value > div').textContent;
- var pass = window.frames["mainFrame"].document.querySelector('#inp_mlabs_portal_password_panel_key_password > div.field-value > div').textContent;
- if (/^\*{3,}$/.test(pass)) {
- console.log('NOPE');
- } else {
- console.log(user);
- console.log(pass);
- window.open('https://google.com');
- window.clearInterval(inter);
- }
- }, 3000);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement