我手機有一個APP( Wifi Web Login)可以自動幫我登入還蠻好用的
http://study2fun.blogspot.tw/2013/01/android-wifi.html
甚至是iTaiwan、CHT Wifi(HiNet)也可以用
只要登入一次,它會自動把登入的動作記錄成腳本並執行
可是我筆電找不到類似的程式
我想要的功能大概如下:
1.判定現在筆電連接的wifi網路
例如我現在走到火車站,自動連到的是iTaiwan,自動開始第二步
若去其他地方,連到的是CHT Wifi(HiNet),那就執行另外一個腳本
2.自動輸入wifi驗證頁面的帳號密碼且登入
自動幫我填寫手機號碼、密碼,並且登入頁面
(應該是可以用網頁的自動記住功能,或者是第一次填寫時就寫入腳本)
有些Wifi還可能要我點確認同意書或是點個廣告才能開始上網
這也要麻煩幫我克服一下
3.只要斷線了,就會自動再從1開始跑
可能我去上個廁所,離開Wifi連線區域,那我等等再回去就自動重新幫我連線
4.開機自動背景執行,不亂跳出訊息通知
盡可能的都在背景執行,就顯示在桌面右下角小氣球即可
但也不要瘋狂的亂跳出訊息干擾
提供一下我手機用的Wifi Web Login腳本:
CHT Wifi(HiNet)
/***WAIT***//***WAIT***/wwl_waitForElement("input", "tel", 5, null, 0);wwl_clickInput(5, null, 0);wwl_waitForElement("input", "tel", 5, null, 0);wwl_changeInputValue("帳號", 5, null, 0);wwl_waitForElement("input", "password", 6, null, 0);wwl_clickInput(6, null, 0);wwl_waitForElement("input", "password", 6, null, 0);wwl_changeInputValue("密碼", 6, null, 0);wwl_waitForElement("input", "checkbox", 7, null, 0);wwl_clickInput(7, null, 0);wwl_waitForElement("a", "", 11, null, 0);wwl_clickLink(11, null, 0);
我學校的Wifi自動認證
/***WAIT***/wwl_waitForElement("input", "text", 5, null, 0);wwl_clickInput(5, null, 0);wwl_waitForElement("input", "text", 5, null, 0);wwl_changeInputValue("02", 5, null, 0);wwl_waitForElement("input", "password", 6, null, 0);wwl_clickInput(6, null, 0);wwl_waitForElement("input", "text", 5, null, 0);wwl_clickInput(5, null, 0);wwl_waitForElement("input", "text", 5, null, 0);wwl_changeInputValue("帳號", 5, null, 0);wwl_waitForElement("input", "password", 6, null, 0);wwl_clickInput(6, null, 0);wwl_waitForElement("input", "password", 6, null, 0);wwl_changeInputValue("密碼", 6, null, 0);wwl_waitForElement("img", null, 0, null, 0);wwl_clickImage(0, null, 0);/***WAIT***/
iTaiwan
/***WAIT***/wwl_waitForElement("input", "text", 0, null, 0);wwl_clickInput(0, null, 0);wwl_waitForElement("input", "text", 0, null, 0);wwl_changeInputValue("帳號", 0, null, 0);wwl_waitForElement("input", "password", 1, null, 0);wwl_clickInput(1, null, 0);wwl_waitForElement("input", "password", 1, null, 0);wwl_changeInputValue("密碼", 1, null, 0);wwl_waitForElement("input", "checkbox", 6, null, 0);wwl_clickInput(6, null, 0);wwl_waitForElement("a", "", 7, null, 0);wwl_clickLink(7, null, 0);/***WAIT***/
TaiMall_Public_WLAN 台茂wifi連線腳本,他只需要按確定就可以連線
/***WAIT***/wwl_waitForElement("input", "button", 5, null, 0);wwl_clickInput(5, null, 0);
WiFree 偈亭的Wifi連線腳本,他也只需要按確定就可以連線
/***WAIT***/wwl_waitForElement("a", "", 0, null, 0);wwl_clickLink(0, null, 0);
這個APP我覺得強的是他可以應付所有Wifi驗證頁面
因為它會自動記錄使用者的登入腳本
而不是只能對付某個Wifi
請問有沒有大大有什麼好方法呢?




























































































