Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name wifi.id auto login by ewwink
- // @namespace cekpr.com
- // @description wifi.id auto login by ewwink
- // @include http://welcome2.wifi.id/wifi.id-wag/default/*
- // @include http://welcome2.wifi.id/wifi.id-wag/spin/*
- // @version 2
- // @grant none
- // ==/UserScript==
- /////////////////////////////////////////////////////////////////////////////////////////////////
- //// memodifikasi script ini bebas dengan catatan tidak menghilangkan credit aslinya, trims. ////
- ////////////////////////////////////////////////////////////////////////////////////////////////
- //////// edit Username & Password @Wifi.id dibawah ini /////////
- var username = '1111111111'; // Username SPIN Wifi.id
- var password = '2222222222'; // Password SPIN Wifi.id
- /////// edit Login type @wifi.id kamu, valid value: SPIN, INTEL, SPEEDY, FLEXI //////
- var logintype = 'SPEEDY'; Type akun, SPIN, INTEL, SPEEDY,FLEXI
- /////// STOP, kebawah jgn edit lagi kecuali ente tau //////////
- if (username == '1111111111')
- {
- alert('Username dan Password @wifi.id belum ditetapkan,\n silahkan ubah terlebih dahulu scriptnya');
- return false;
- }
- else if (window.location.href.match('welcome2.wifi.id/wifi.id-wag/default/'))
- {
- if (logintype == 'SPIN')
- {
- window.location = window.location.href.replace('default', 'spin');
- }
- if (logintype == 'INTEL')
- {
- window.location = window.location.href.replace('default', 'intel');
- }
- if (logintype == 'SPEEDY')
- {
- window.location = window.location.href.replace('default_olo1', 'speedy');
- }
- if (logintype == 'FLEXI')
- {
- window.location = window.location.href.replace('default_olo1', 'flexizone');
- }
- }
- else if (window.location.href.match('welcome2.wifi.id/wifi.id-wag/spin/'))
- {
- document.getElementById('username-login').value = username;
- document.getElementById('pass-login').value = password;
- setTimeout(function ()
- {
- document.getElementsByClassName('imgbtn')[0].click();
- }, 100);
- }
- else if (window.location.href.match('welcome2.wifi.id/wifi.id-wag/intel/'))
- {
- document.getElementById('inputUserName').value = username;
- document.getElementById('inputPassword').value = password;
- setTimeout(function ()
- {
- document.getElementById('button').click();
- }, 100);
- }
- else if (window.location.href.match('welcome.indonesiawifi.net/wifi.id/speedy/'))
- {
- document.getElementById('user_id').value = username;
- document.getElementById('pass_id').value = password;
- setTimeout(function ()
- {
- $('#login-form').submit();
- //document.forms['login-form'].submit();
- }, 100);
- }
- else if (window.location.href.match('welcome.indonesiawifi.net/wifi.id/flexizone/'))
- {
- document.getElementById('username').value = username;
- document.getElementById('password').value = password;
- setTimeout(function ()
- {
- document.getElementById('submit').click();
- }, 100);
- }
- /////////////////////////////////////////////////////////////////////////////////////////////////
- //// memodifikasi script ini bebas dengan catatan tidak menghilangkan credit aslinya, trims. ////
- ////////////////////////////////////////////////////////////////////////////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement