Disabling popup blocking in CEF3

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Disabling popup blocking in CEF3

Postby tashimaya » Tue Dec 23, 2014 10:45 am

--disable-popup-blocking (http://peter.sh/experiments/chromium-command-line-switches/)

Is this Chrome switch supported in CEF3? Is there an equivalent setting for this in CEF3?
tashimaya
Techie
 
Posts: 36
Joined: Fri Oct 10, 2014 7:18 am

Re: Disabling popup blocking in CEF3

Postby magreenblatt » Tue Dec 23, 2014 3:08 pm

What is the problem that you're trying to fix?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Disabling popup blocking in CEF3

Postby Jaison » Fri Jan 06, 2017 1:36 pm

I was looking for a way to disable pop-up blocker in CEF3 and found this post. In my case, one of the hosted page explicitly checks for pop-up blocker status and shows an error message when it is not disabled.
Can I use --disable-popup-blocking in OnBeforeCommandLineProcessing method (CefApp class) to disable pop-up blocker?
commandLine.AppendSwitch(@"--disable-popup-blocking");
I tried it, but I didn't see any difference, so checking it here.
Thanks.
Jaison
Newbie
 
Posts: 1
Joined: Mon Sep 22, 2014 1:37 am

Re: Disabling popup blocking in CEF3

Postby magreenblatt » Mon Jan 09, 2017 2:41 pm

Jaison wrote:one of the hosted page explicitly checks for pop-up blocker status and shows an error message when it is not disabled.

What exactly is this page checking for?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 94 guests