|
|
|
Forum Newbie
      
Group: Customers
Last Login: 7/28/2008 11:47:20 AM
GenoPro Version: 2.0.1.1
Posts: 5,
Visits: 24
|
|
Hi,
I maintain my genealogy on a separate website.
I upgraded to Firefox 3, and I noticed that now my website forces me to download the Adobe SVG viewer to view genograms. If I force Firefox to pretend to be version 2.0 (using general.useragent.extra.firefox in about:config), then the genogram is displayed using Firefox's native SVG viewer.
It looks like the browser check is in svgcheck.js . The line responsible for this behavior is the following.
| is_mozff1_5=(agt.indexOf("firefox/1.5")!=-1||agt.indexOf("firefox/2.")!=-1); |
I have tinkered with the default skin's HTML and PGP for my website in the past, but with this JavaScript problem I need help. How do I change the above code so that Firefox 3 can view the genogram with its native renderer? Preferably in such a way that this problem doesn't resurface when a new Firefox version comes out.
|
|
|
|
|
Grand Master
      
Group: Customers
Last Login: Today @ 6:30:53 PM
GenoPro Version: 2.0.1.6
Posts: 1,151,
Visits: 5,401
|
|
|
|
|
|
Forum Newbie
      
Group: Customers
Last Login: 7/28/2008 11:47:20 AM
GenoPro Version: 2.0.1.1
Posts: 5,
Visits: 24
|
|
thanks!
I changed
| is_mozff1_5=(agt.indexOf("firefox/1.5")!=-1||agt.indexOf("firefox/2.")!=-1); |
to
| is_mozff1_5=(agt.indexOf("firefox/")!=-1); |
per your reference above, and everything works (after refreshing the page)
Thank you very much, Ron!
|
|
|
|