You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Tuesday, January 9th 2018, 11:41pm

strange mailto: and tel: link behaviour

Dear Klaus,

so please check this out. After it loads just click once to hide the initial info display, and then click on the box in the upper right corner, it should open (slide out) a larger version of the plugin. There on the right side you can find an email address, which is at the moment an <a> tag with a href attribute filled out to be a mailto link.

After your last message I tried it out in different browsers, and surprisingly it works fine on Firefox (Quantum 57), but not in Chrome, Chromium or Opera. My OS is Windows 7 x64.

Also here's a youtube clip of what's happening in case the same doesn't happen for you.

And like I said, it didn't happen with version pr13, just with pr14.


Wednesday, January 10th 2018, 12:19am


thanks - great bug-report - all information are there ;-)

The reason is this Chrome bug:…-i-prevent-this

Chrome is wrongly sending an 'onbeforeunload' event when opening 'mailto:' links.

And in version 1.19-pr14 this event is used to manually free up all WebGL resources to avoid/reduce any browser-side WebGL memory leaks and problems...

I will try to find a workaround for this for the next release.
As manual workaround you could try the solution from the link above.

Best regards,


Wednesday, January 10th 2018, 2:18am

Cheers, works fine now!


Friday, January 12th 2018, 12:31pm


this will be fixed in the release.
The 'beforeunload' event usage will be entirely removed, there are too many side effects because of browser-bugs.

Best regards,



Posts: 3,385

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message


Tuesday, January 23rd 2018, 1:42pm


can you provide working code?
I was not able to make it work with the given info on the stack overflow link.

Normally i would just call openurl(,_self);

EDIT: I have a fix, thanks to JeromeBG
This line in your index.html head:

Source code

<iframe name="hidden-iframe" style="visibility:hidden;position:absolute;"></iframe>

This in your xml

Source code

<layer  balblabla  onclick="Mail();"

<action name="Mail" type="javascript" devices="html5">
<![CDATA['', 'hidden-iframe');

Tuur *thumbsup*

This post has been edited 1 times, last edit by "Tuur" (Jan 23rd 2018, 4:43pm)