Subject: The [name] action cannot originate from a Web Browser link
Posted: Thu Mar 01, 2012 1:46 pm (GMT -7)
Topic Replies: 0
Take a look at this rare thing. In fact a possible workaround can be achieved, but, I want to know what do you thing, in other words, if is the normal and expected behaviour or not.
<a href="http://www.neosoftware.com/">A sample link</a>
els = document.getElementsByTagName( ‘a’ );
for( var i = 0; i < els.length; i++ )
el = els[#91] i [#93];
el.href = ‘neobook:GoSub %22BrowserLinkClick%22′;
Ok. The Browser show the HTML code with the "sample" link, and, when this link is clicked, the subroutine "BrowserLinkClick" is executed. No problem to here. Every work fine.
If we put on the subroutine NeoBook native actions, like "AlertBox" or something like that, again, all work like expected, the user click the link, the subroutine is executed, and the "AlerBox" actions too.
However, if we put on the subroutine a plugin action, for example:
.From PDF plugin
… we get the error "The pdfVersion action cannot originate from a Web Browser link", somethin like this:
At a first instance I think this maybe is relation with some security issues, but, why we can execute native NeoBook actions from a Web browser object link, and cannot execute NeoBook plugin actions in the same way?
P.S. We are advised of this by a NeoBooker Friend, and, we found a possible workaround (not sure if work, but maybe yes), which consists to launch a Timer from the refered subroutine, so the Timer execute the needed actions, and then stop itself. Please, not considerer this as a big error or something, just a rare thing that get my curiosity.
P.S.2. Here is a sample publication that show everything I say above.
SetVar "[NeoBookTvUrl]" "http://neobook.tv"
SetVar "[NeoPluginsUrl]" "http://neoplugins.com"
NeoSoft Support Forum