GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Icon buttons fail in Chrome

Click to view RSS...
Author
Posted Friday, April 28, 2017 - Post #37887
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Customers
GenoPro version: 2.5.3.9

Last Login: Sunday, July 25, 2021
Posts: 34, Visits: 275
Using Narrative Report 2016.07.16, when trying to select from icon buttons (individuals, families, trees etc.) Google Chrome (Version 58.0.3029.81) gives message:

default.htm:87 Uncaught DOMException: Failed to execute 'assign' on 'Location': Blocked a frame with origin "null" from accessing a cross-origin frame. at Object.showTOC (file:///C:......default.htm:87:37) at file:///C:....default.htm:98:20 at rm_callback (file:///C:...scripts/script.js:1699:11)

Safari, Edge, Firefox, Sea Monkey all seem to work ok, although I haven't checked if they give errors or warnings.
Posted Friday, April 28, 2017 - Post #37888
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 9:42 PM
Posts: 3,325, Visits: 25,525
Yes unfortunately the Chrome developers have once again thwarted my attempts to communicate between the HTML frames of the Narrative Report by further tightening their 'same origin' policy. IMHO this is absurd when all files are in the same local folder!

If and when I get time I will see if there is anything further I can do to work around this. Otherwise to use Chrome you will need to go via web server

I now use a Chrome App 'Web Server for Chrome' that runs in the background and starts automatically at Windows login. I place all my reports in folders under one umbrella folder and point Web Server for Chrome at that umbrella folder and changed the port used by the Web Server to 80, i.e. the http default.
I can then use for example the URL localhost/HarryPotter to see the report. Note that the Web Server is available to any web browser on you PC/laptop, not just Chrome. You can also make it visible on you local network so that it can be accessed from other devices.

Alternatively you could publish to familytrees.genopro.com (with password if needed) or use a diffferent local web server e.g. nginx.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Monday, May 1, 2017 - Post #37896
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 9:42 PM
Posts: 3,325, Visits: 25,525
Having looked into this issue with Chrome I believe I have a relatively simple solution to this latest issue by using a two stage 'postMessage' interface between frames.

To implement this fix please download and unzip the attached file as a replacement for the 'Narrative Common' folder below your GenoPro skins folder.

This version also resolves an issue with Google Maps 'Marker Clusterer' caused by marker images removed from the CDN. These images are now included in the package.

Update see later post for a more up to date downlaod for Narrative Common.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Edited: Tuesday, May 2, 2017 by genome
Posted Monday, May 1, 2017 - Post #37901
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Customers
GenoPro version: 2.5.3.9

Last Login: Sunday, July 25, 2021
Posts: 34, Visits: 275
Icon buttons now seem to work ok. However, under Trees only the first tree selected loads (wherever it is in the list). There's an error message:

script.js:1746 GET file:///C:/..../genomaps/genomaps/genomap6.htm?x=597.5,y=-613,highlight=false net::ERR_FILE_NOT_FOUND

Thereafter, no other tree will load, not even the first one tried. There is no other error message other than in the sub-frame itself: "It may have been moved or deleted".

I've only tested so far with Safari & Edge and they exhibit the same problem. Edge is a little more helpful, the message in the sub-frame is:
  • Make sure you’ve got the right web address: file:///C:/..../genomaps/popup.htm
The Web Server worked fine with the old version of Narrative Common, but has a similar problem with the new version. The message in the sub-frame is: "entry not found".
Posted Tuesday, May 2, 2017 - Post #37904
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 9:42 PM
Posts: 3,325, Visits: 25,525
Sorry about that. I thought I'd fix another little problem but managed to turn it into a much bigger one! Blush

The attached replacement for Narrative Common has a better fix. 


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Narrative Common.zip (71 views, 1.32 MB)
Posted Wednesday, May 3, 2017 - Post #37912
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Customers
GenoPro version: 2.5.3.9

Last Login: Sunday, July 25, 2021
Posts: 34, Visits: 275
That seems better! Hopefully won't need to use Web Server until the Chrome developers make more changes! It's ridiculous that they're so paranoid about "File:/"

Many thanks


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse