Re-2: Off-Line revlets?
briany at qldlearning.com
Mon Nov 2 14:09:21 CST 2009
I believe this should work for all browsers.
> i already tried that solution. It works without problems under
> Firefox here under Windows. But under IE8 i get no value back for
> "document.location.href;". Maybe due to security settings. I do not
> But that means, that IE users cannot run the revlet, although it is
> started from the "right" website.
> -------- Original Message --------
> Subject: Re: Off-Line revlets? (02-Nov-2009 20:43)
> From: David Coker <davidocoker at gmail.com>
> To: runrev260805 at m-r-d.de
>>> Is it possible for an end-user to 'salvage' a revlet from
>>> a browser cache and thereby continue using it, effectively
>>> as a free-standing program, when not connected to the internet?
>>> If this is, at least theoretically possible, is there a way to
>>> prevent it?
>> Hello Richmond,
>> Here is the solution that was given to my similar question a few
>> days ago (
>> Thanks Malte!):
>>> will then contain the URL your revLet has been launched from and you
>>> can react accordingly. so you might want to do this on openstack for
>> on openStack
>> local tURL
>> do "document.location.href;" in browser
>> put the result into tURL
>> if tURL <> "path/you/would/expect.html" then
>> answer "You are using my revlet from an unknown location. Please use
>> it from my site instead"
>> -- do a redirect here if you wish or quit
>> end if
>> end openStack
>>> Hope that sheds some light.
>>> All the best,
More information about the use-livecode