PWB v3 CEF - Flash

Questions and comments about currently under development PWB v3

Moderators: Tyler, Scott

Post Reply
TRex
Contributor
Contributor
Posts: 21
Joined: Thu Nov 30, 2017 4:09 pm

PWB v3 CEF - Flash

Post 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?

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: PWB v3 CEF - Flash

Post 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
Attachments
poptopica.png
poptopica.png (148.85 KiB) Viewed 21786 times

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: PWB v3 CEF - Flash

Post by Scott »

Poptropica with Internet Explorer.
Attachments
poptropica.png
poptropica.png (149.78 KiB) Viewed 21784 times

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: PWB v3 CEF - Flash

Post by Scott »

Poptropica in PWB IE.
Attachments
poptropica2.png
poptropica2.png (246.13 KiB) Viewed 21784 times

TRex
Contributor
Contributor
Posts: 21
Joined: Thu Nov 30, 2017 4:09 pm

Re: PWB v3 CEF - Flash

Post 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?

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: PWB v3 CEF - Flash

Post 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

TRex
Contributor
Contributor
Posts: 21
Joined: Thu Nov 30, 2017 4:09 pm

Re: PWB v3 CEF - Flash

Post 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?

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: PWB v3 CEF - Flash

Post 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

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: PWB v3 CEF - Flash

Post 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

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: PWB v3 CEF - Flash

Post by Scott »

It seems to work with the filter disabled. Here is PWB CEF opening poptropica.com in an IE window.
Attachments
cefie.png
cefie.png (247.53 KiB) Viewed 21704 times

TRex
Contributor
Contributor
Posts: 21
Joined: Thu Nov 30, 2017 4:09 pm

Re: PWB v3 CEF - Flash

Post 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.

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: PWB v3 CEF - Flash

Post 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

Post Reply