Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

can i open hidden window?

Post Reply
asparagas
Posts: 17
Joined: Sun Nov 24, 2019 11:36 pm

can i open hidden window?

Post by asparagas »

hi,
i'm from turkey.
I have a question.
Can we open an incognito window in cef4?
thanks...
User avatar
salvadordf
Posts: 4056
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: can i open hidden window?

Post by salvadordf »

Hi,

Yes, you can.

Leave the GlobalCEFApp.cache property empty and all your browsers will be in incognito mode because they will save the cache in memory.

If you want to have a normal cache directory in the hard drive for some browsers and then open a new browser in incognito mode then use this code from the MDIBrowser demo :
https://github.com/salvadordf/CEF4Delphi/blob/f2237604fb5f98cb42c27266e2ff1d1ea2f5b5e9/demos/Delphi_VCL/MDIBrowser/uChildForm.pas#L209
asparagas
Posts: 17
Joined: Sun Nov 24, 2019 11:36 pm

Re: can i open hidden window?

Post by asparagas »

you are great.

thank you.

best regards...
asparagas
Posts: 17
Joined: Sun Nov 24, 2019 11:36 pm

Re: can i open hidden window?

Post by asparagas »

thank you very much.

best regards..
Post Reply