vbs之使用Internet Explorer 屏蔽密碼
更新時(shí)間:2008年06月15日 20:43:33 作者:
演示如何通過(guò)腳本創(chuàng)建 Internet Explorer 的實(shí)例,并檢索輸入密碼樣式的文本框中的密碼。需要帶有適當(dāng)?shù)奈谋究虻?Web 頁(yè)(名為 password.htm)。
復(fù)制代碼 代碼如下:
Set objExplorer = WScript.CreateObject _
("InternetExplorer.Application", "IE_")
objExplorer.Navigate "file:///c:\scripts\password.htm"
objExplorer.Visible = 1
objExplorer.ToolBar = 0
objExplorer.StatusBar = 0
objExplorer.Width=400
objExplorer.Height = 250
objExplorer.Left = 0
objExplorer.Top = 0
Do While (objExplorer.Document.Body.All.OKClicked.Value = "")
Wscript.Sleep 250
Loop
strPassword = objExplorer.Document.Body.All.PasswordBox.Value
objExplorer.Quit
Wscript.Sleep 250
Wscript.Echo strPassword
您可能感興趣的文章:
- javascript屏蔽右鍵代碼
- jquery禁用右鍵單擊功能屏蔽F5刷新
- 屏蔽網(wǎng)頁(yè)右鍵復(fù)制和ctrl+c復(fù)制的js代碼
- 屏蔽Flash右鍵信息的js代碼
- 網(wǎng)頁(yè)屏蔽(左右鍵,代碼等)的非JS方法
- 屏蔽端口的vbs腳本
- vbs屏蔽鍵盤(pán)按鍵
- VB使用XMLHTTP實(shí)現(xiàn)Post與Get的方法
- VB讀取線(xiàn)程、句柄及寫(xiě)入內(nèi)存的API代碼實(shí)例
- VB實(shí)現(xiàn)的倒計(jì)時(shí)類(lèi)代碼詳解
- VB調(diào)用Word拼寫(xiě)檢查功能實(shí)例
- VB實(shí)現(xiàn)屏蔽文本框右鍵菜單的復(fù)制、粘貼等功能的方法
相關(guān)文章
抖音很火的vbs表白代碼(簡(jiǎn)單實(shí)用!)
這篇文章主要給大家介紹了關(guān)于抖音很火的vbs表白代碼的相關(guān)資料,教你用vbs表白女朋友,包含多個(gè)彈窗絕對(duì)實(shí)在,保管實(shí)用,內(nèi)容可以自己修改,需要的朋友可以參考下2022-04-04
通過(guò)vbs獲取遠(yuǎn)程host文件并保存到指定目錄
最近需要訪(fǎng)問(wèn)google聯(lián)盟后臺(tái),但經(jīng)常無(wú)法訪(fǎng)問(wèn),看到有網(wǎng)友提供了一份vbs版本的獲取host并保存到指定目錄的代碼,特分享下2014-12-12
vbscript LoadPicture函數(shù)使用方法與漏洞利用
因?yàn)橛腥苏f(shuō)這里L(fēng)oadPicture的代碼有些問(wèn)題,所以這里給修正下,方便需要的朋友2008-12-12
VBS教程:函數(shù)-ScriptEngineMajorVersion 函數(shù)
VBS教程:函數(shù)-ScriptEngineMajorVersion 函數(shù)...2006-11-11
用vbs實(shí)現(xiàn)配置無(wú)人登錄計(jì)算機(jī)時(shí)使用的屏幕保護(hù)程序
用vbs實(shí)現(xiàn)配置無(wú)人登錄計(jì)算機(jī)時(shí)使用的屏幕保護(hù)程序...2007-03-03

