NoDeleteCookie Posted July 5, 2015 Share Posted July 5, 2015 (edited) Help me please((((((( expandcollapse popup#include <IE.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> ;-----------------------Example!----------------------------------- $hGUI = GUICreate('AutoIt no delete cookie!', 800, 400, -1, -1, $WS_SIZEBOX, $WS_EX_TOOLWINDOW) $oIE = _IECreateEmbedded() $iObjIE = GUICtrlCreateObj($oIE, 0, 0, 800, 400) GUICtrlSetResizing($iObjIE, 2 + 32) GUISetState() _IENavigate($oIE, 'https://www.autoitscript.com/forum/login') $oColl = _IETagNameGetCollection($oIE, 'INPUT') For $o In $oColl If $o.Id = 'elInput_auth' Then _IEPropertySet($o, 'innertext', 'NoDeleteCookie') ; My test login $o.scrollIntoView() EndIf If $o.Id = 'elInput_password' Then _IEPropertySet($o, 'innertext', 'DSA34r34rf43') ; My test password $o.scrollIntoView() EndIf Next $oColl = _IETagNameGetCollection($oIE, 'BUTTON') For $o In $oColl If $o.ClassName = 'ipsButton ipsButton_primary' And $o.Type = 'submit' Then $o.ScrollIntoView() _IEAction($o, 'click') _IELoadWait($oIE) EndIf Next While 1 _IENavigate($oIE, 'https://www.autoitscript.com/forum/settings/') If StringInStr(_IEBodyReadHTML($oIE), 'Manage your account settings, and set up social network integration') Then MsgBox(16, 'No delete cookie!', 'Succes login') $oIE.document.cookie = "" ; NO WORKING! $oIE.cookie = 0 ; NO WORKING! $oIE.quit() ; NO WORKING! $oIE = 0 ; NO WORKING! RunWait(@SystemDir & "\Rundll32.exe InetCpl.cpl,ClearMyTracksByProcess 255", '', @SW_HIDE); NO WORKING! RunWait(@SystemDir & "\Rundll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351", '', @SW_HIDE) ; NO WORKING! GUICtrlDelete($iObjIE) ; NO WORKING! GUIDelete($hGUI) ; NO WORKING! NooooooooooooooooOOOOOOOOOOOO!!!!! $hGUI = GUICreate('AutoIt no delete cookie!', 800, 400, -1, -1, $WS_SIZEBOX, $WS_EX_TOOLWINDOW) $oIE = _IECreateEmbedded() $iObjIE = GUICtrlCreateObj($oIE, 0, 0, 800, 400) GUICtrlSetResizing($iObjIE, 2 + 32) GUISetState() WEnd Do Sleep(10) Until GUIGetMsg() = -3 Edited July 5, 2015 by NoDeleteCookie Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now