dersiniar Posted June 15, 2022 Share Posted June 15, 2022 Hello Is it possible that my script can understand what version of "Avast browser" I use and use it somehow with instead Mozilla. I want it to do due cookies, cos website i go with script, must be logged in to show info what i need $oHttp.SetRequestHeader("User-Agent", "Mozilla/"&$Randomnr) This is script I use now Local $URLSteam = $url Local $oHttp = ObjCreate("WinHttp.WinHttpRequest.5.1") If not @error Then $oHttp.Open("GET", $URLSteam, False) $oHttp.SetRequestHeader("User-Agent", "Mozilla/"&$Randomnr) ;~~~~~~ xD dont ask about that function at end :D ;ConsoleWrite("Mozilla/"& $Randomnr) $oHttp.Send() Global $sData = $oHttp.ResponseText 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