Page 1 of 1

PWB v3 CEF - Flash

Posted: Thu Mar 01, 2018 6:28 am
by TRex
Windows 7 x64
Apps installed include: Chrome, Firefox, Flash (for Firefox), Flash (PPAPI)
Using PWB v3 CEF

Using a CheckURLFile with -all before listing allowed sites (but changing to +all does not help).

Having problems with two sites:
http://www.poptropica.com/play-poptropica.php
http://bkflix.grolier.com

Both are requesting Flash. What do I need to do to get it working on those sites?

Re: PWB v3 CEF - Flash

Posted: Fri Mar 02, 2018 2:01 pm
by Scott
The Grolier site is password protected so it is not possible to test.

The Poptropica site does not seem to work with Chrome, see attached.

Adobe is ending all support for Flash in 2020 so all sites using Flash will cease to function shortly.
https://www.blog.google/products/chrome ... sh-chrome/

You could use the following settings to have PWB open the sites in Internet Explorer instead of Chrome.

[Browser]
CheckOpenIE=True

[Files]
CheckOpenIEFile=C:\path to filter\file.txt


--Scott

Re: PWB v3 CEF - Flash

Posted: Fri Mar 02, 2018 2:23 pm
by Scott
Poptropica with Internet Explorer.

Re: PWB v3 CEF - Flash

Posted: Fri Mar 02, 2018 2:26 pm
by Scott
Poptropica in PWB IE.

Re: PWB v3 CEF - Flash

Posted: Mon Mar 05, 2018 11:02 am
by TRex
Scott wrote:You could use the following settings to have PWB open the sites in Internet Explorer instead of Chrome.

[Browser]
CheckOpenIE=True

[Files]
CheckOpenIEFile=C:\path to filter\file.txt
I've verified those sites work with PWB v3 IE. If I could use that *only* for those two sites (because the IE rendering engine, not surprisingly, makes a mess of the handmade home page), I'd be thrilled. But I'm not finding enough info in PWBv3.pdf or in searching the forum to understand how the CheckOpenIEFile= setting works. The term 'filter' seems to be used for multiple things.

Does C:\path to filter\file.txt refer to CheckURLFile= in the [Files] section? And does that mean I can replace +poptropica.com in the URL Filter file with something else which would cause PWB v3 CEF to open a specified URL using PWB v3 IE?

Re: PWB v3 CEF - Flash

Posted: Mon Mar 05, 2018 4:14 pm
by Scott
Very similar to this one:
https://www.teamsoftwaresolutions.com/f ... f=8&t=3158

The "[Files]CheckOpenIEFile=" works like the "[Files]CheckURLFile=" when the "[Browser]CheckOpenIE=" is true, but if the URL is allowed it opens in IE instead of CEF.

Set the following in your INI file.

[Browser]
CheckOpenIE=True

Edit the "CheckOpenIEFile" with the following information.

-all
+http://www.poptropica.com/play-poptropica.php

This will have PWB open the PopTropica site in an IE window.

--Scott

Re: PWB v3 CEF - Flash

Posted: Tue Mar 06, 2018 7:59 am
by TRex
Almost got it. The BookFLIX site (http://bkflix.grolier.com) is working, but the Poptropica site (http://www.poptropica.com/play-poptropica.php) continues to frustrate me.

For the CheckOpenIEFile= I'm using <useIE.txt>
For the CheckURLFile= I'm using <URL-ysgames.txt>

When clicking the link for Poptropica, I got a tab labelled res://ieframe.dll/navcancl.htm so figured I was missing a permission in the <useIE.txt> file so I added every site referenced for scripts, etc. It still didn't work. So I changed the first line in <useIE.txt> from -all to +all (to confirm it was a permissions issue), but when I did that, clicking on the Poptropica link did nothing, not even the navigation cancelled frame.

I have framework permissions in <URL-ysgames.txt>:
+about:blank
+ieframe.dll
+javascript
+script://
+webpack://
I tried adding these to <useIE.txt> but the results were the same: a tab labelled res://ieframe.dll/navcancl.htm.

The https://www.teamsoftwaresolutions.com/f ... f=8&t=3158 explanation makes me wonder if I need to also use CheckOpenCEF=True. Do I?

Re: PWB v3 CEF - Flash

Posted: Tue Mar 06, 2018 2:04 pm
by Scott
The setting [Browser]CheckOpenCEF=True will open URLs back into CEF. Probably not what is needed.

Try disabling the filter filter with the following.

[Security]
CheckURLAccess=False

You could use the history filter with PWB IE to determine the URLs that is is accessing.

--Scott

Re: PWB v3 CEF - Flash

Posted: Tue Mar 06, 2018 2:20 pm
by Scott
Do you have "+poptropica.com" in your URL filter?

Use the PWB history file to check what is being blocked.

[Security]
WriteHistoryFile=True
LogAccess=True

--Scott

Re: PWB v3 CEF - Flash

Posted: Tue Mar 06, 2018 2:22 pm
by Scott
It seems to work with the filter disabled. Here is PWB CEF opening poptropica.com in an IE window.

Re: PWB v3 CEF - Flash

Posted: Wed Mar 07, 2018 6:37 am
by TRex
Scott wrote:Do you have "+poptropica.com" in your URL filter?
Sorry for delay (putting out fires yesterday).

That was it. I commented it out and placed it in the CheckOpenIEFile= file, thinking if it were in the CheckURLFile= file PWB wouldn't know to use IE.

All sorted now. A very big THANKS for the help.

Re: PWB v3 CEF - Flash

Posted: Wed Mar 07, 2018 2:09 pm
by Scott
You are welcome.

Just for clarity, the URL filter file is shared between all the windows/tabs regardless of the rendering engine in use.

--Scott