Jump to content



Photo

Exbrowser Save And Load Cookies

exbrowser cookie

  • Please log in to reply
8 replies to this topic

#1 fastlinks

fastlinks

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 171 posts
  • OS:Windows 10
  • Total Memory:8Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 10 May 2019 - 10:04 AM

I tried to save the exbrowser cookies and then load it when next run, but after inspect with cookie manager, i found that it do not load the cookie.

The single insertion using "exbrowser Load cookie by domain" is working, but not the save and load cookies feature.. anyone know how to make it work? 



#2 HelloInsomnia

HelloInsomnia

    Advanced Member

  • Moderators
  • 3092 posts
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 10 May 2019 - 10:43 PM

Be sure to go there, load the cookies, then go back to the site again.



#3 fastlinks

fastlinks

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 171 posts
  • OS:Windows 10
  • Total Memory:8Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 11 May 2019 - 02:53 AM

Be sure to go there, load the cookies, then go back to the site again.

Hey bro, can you give one example?

i tried to navigate to site 1, then load cookie from file, and navigate to site 1 again

then i check cookie with chrome cookie manager extension, it dont load the pre-save cookies (it work only if i insert cookie one by one)

 



#4 Eddie.Z

Eddie.Z

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 156 posts
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 11 May 2019 - 09:12 AM

list the site here and we can test it.



#5 fastlinks

fastlinks

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 171 posts
  • OS:Windows 10
  • Total Memory:8Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 11 May 2019 - 12:48 PM

the website is 
 

https://disqus.com/next/login/#!auth%3Astart

may be i do something working or i have older version, it just dont work
exbrowser version 1.3.2.8

however i have use an alternative way to make it worked with a chrome extension call "cookiebro", thanks



#6 HelloInsomnia

HelloInsomnia

    Advanced Member

  • Moderators
  • 3092 posts
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 11 May 2019 - 12:55 PM

plugin command("ExBrowser.dll", "ExBrowser CleanUp", "No")
plugin command("ExBrowser.dll", "ExBrowser Launcher", "Chrome", "", "")
plugin command("ExBrowser.dll", "ExBrowser Navigate", "https://www.html-kit.com/tools/cookietester/")
plugin command("ExBrowser.dll", "ExBrowser Click", "//form[@class=\'zp\']/input[@type=\'submit\']")
plugin command("ExBrowser.dll", "ExBrowser Save Cookies", "D:\\cookies.dat")
plugin command("ExBrowser.dll", "ExBrowser CleanUp", "No")
plugin command("ExBrowser.dll", "ExBrowser Launcher", "Chrome", "", "")
plugin command("ExBrowser.dll", "ExBrowser Navigate", "https://www.html-kit.com/tools/cookietester/")
wait(8)
plugin command("ExBrowser.dll", "ExBrowser Load Cookies", "D:\\cookies.dat")
plugin command("ExBrowser.dll", "ExBrowser Navigate", "https://www.html-kit.com/tools/cookietester/")


#7 Eddie.Z

Eddie.Z

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 156 posts
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 11 May 2019 - 09:10 PM

the website is 
 

https://disqus.com/next/login/#!auth%3Astart

may be i do something working or i have older version, it just dont work
exbrowser version 1.3.2.8

however i have use an alternative way to make it worked with a chrome extension call "cookiebro", thanks

I have tested it and runs ok with cookie save and load.



#8 fastlinks

fastlinks

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 171 posts
  • OS:Windows 10
  • Total Memory:8Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 12 May 2019 - 06:39 AM

Thanks for the code example

does it mean this feature only save cookie for one page? or it save all the cookies in the browser?

for example:

if i navigate to yahoo.com.. then google.com ... and save the cookie

it will save for both site or just google.com?

Thanks a lot



#9 HelloInsomnia

HelloInsomnia

    Advanced Member

  • Moderators
  • 3092 posts
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 12 May 2019 - 11:30 AM

Thanks for the code example

does it mean this feature only save cookie for one page? or it save all the cookies in the browser?

for example:

if i navigate to yahoo.com.. then google.com ... and save the cookie

it will save for both site or just google.com?

Thanks a lot

 

The Command Reference says this

 

"Saves all Cookies from the active browser in the current thread into the specified file."

 

So I guess it is actually all of them and not just the domain you are on.







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users