// ==UserScript==
// @name IP Hunter for ZTE-MF63
// @namespace Unknown
// @version 1.0.0
// @description This userscript automatically reconnects the mobile data for some ZTE MF63 modems until it connects to a matching IP address.
// @author Jhayr
// @match http://192.168.0.1/index.html
// @grant none
// @license MIT License
// @downloadURL none
// ==/UserScript==
/*
* IP Hunter
*
*
* THIS WORK IS COPYRIGHT PROTECTED
* http://www.copyrighted.com/copyrights/view/jqv4-u3m7-erfv-b730
*
* MODIFYING THE TOOL FOR YOUR PERSONAL USE IS PERMITTED
* HOWEVER, RE-BRANDING OR REMOVING THIS COPYRIGHT NOTICE IS NOT ALLOWED.
*
* IF YOU HAVE ANY SUGGESTIONS TO IMPROVE THIS TOOL,
* YOU CAN PM ME ON FACEBOOK.
* https://www.facebook.com/jayrditona
*/
(function() {
'use strict';
//if(document.location.hash !== "#login"){
var zte_service = null;
var zte_device_info = null;
var zte_device_info_init = null;
var valid_ip = "";
var hunter_handler = null;
var ppp_status = null; //connected: "ppp_connected", disconnected: "ppp_disconnected"
var ppp_loading = null;
// Your code here...
$('