Advertisement
Guest User

Fon Zon Login

a guest
Apr 29th, 2015
763
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         Fon Zon Login
  3. // @namespace    http://search.ozyart.tk
  4. // @version      1.0
  5. // @description  Fon Zon Login
  6. // @author       Ozyart
  7. // @require     https://nos.portal.fon.com/static/js/jquery-1.7.1.min.js
  8. // @include     https://nos.portal.fon.com/*
  9. // @run-at      document-start
  10. // @grant       GM_addStyle
  11.  
  12. // ==/UserScript==
  13.  
  14. // Change email and pass, use with Tampermonkey or Greasemonkey
  15.  
  16. $(document).ready(function(){
  17.    
  18.         var u = 'email@email.xyz';
  19.         var p = 'password';
  20.    
  21.         $("#user").val(u);
  22.         $("#password").val(p);
  23.         $("#login").click();
  24.    
  25.    
  26.     var pass = $("#password").val();
  27.  
  28.     if (typeof pass === 'undefined'){
  29.         $( window ).html( "" );
  30.         window.location = 'http://search.ozyart.tk';
  31.  
  32.     }
  33.  
  34. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement