Re-2: Off-Line revlets?
runrev260805 at m-r-d.de
runrev260805 at m-r-d.de
Mon Nov 2 15:01:27 EST 2009
Hi,
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 know.
But that means, that IE users cannot run the revlet, although it is started from the "right" website.
Regards,
Matthias
-------- 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?
>
> >AND;
>
> >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!):
>
> >this script executes a bit of javascript in the browser. The result
> >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
> >example
>
> 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,
>
> >Malte
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>
>
> To: use-revolution at lists.runrev.com
More information about the use-livecode
mailing list