|
Post by awilson3rd on Dec 2, 2014 10:24:49 GMT
Hello,
Does anyone know of any code (I am a non-coder) that could be used on an exported hani animation webpage that would ensure the animation would only run on a specific domain?
Thanks
Andrew
|
|
|
Post by Hippani on Dec 3, 2014 9:36:58 GMT
You could do something like this in Movie->On Start:
if(document.location.toString().toLower().indexOf("hippostudios.co")==-1){ //replace with your domain in lower case //go some place else or show a blank scene etc... }
|
|
|
Post by awilson3rd on Dec 3, 2014 10:48:32 GMT
Thanks for the reply. Does that line get exported in the code though, I mean could someone find it and replace it with their own url?
|
|
|
Post by Hippani on Dec 3, 2014 11:20:13 GMT
Yes, if they knew to do that, which is unlikely. It makes it harder at least. It's very difficult to protect HTML.
|
|
|
Post by awilson3rd on Dec 3, 2014 11:35:32 GMT
Thanks.
Andrew
|
|
giuma
Junior Member
Posts: 26
|
Post by giuma on Jul 14, 2015 1:10:29 GMT
Thanks for the reply. Does that line get exported in the code though, I mean could someone find it and replace it with their own url? it's possible to obfuscate source code of hippo with www.javascript-source.com firebug can't show source i'ts seem a good abfuscation 1- in export file of hippo (no iframe html but other html) find javascript part and and cut this part <script type="text/javascript">//<![CDATA[ .... .... ..... //]]></script> 2- paste this in separate .js 3 - encode separate .js with javascript obfuscator www.javascript-source.com4 - include separate .js in export html with <link> tag
|
|
|
Post by leorod on Jul 14, 2015 12:23:54 GMT
Here is a little trick to make harder to break the Gordon code. You can split the domainname into parts to make it more difficult to find.
var u = "hipp" + "ostu"; u+= "dios" + ".c";
if (document.location.hostname.toLower().indexOf(u + "om") == -1) { //go some place else or show a blank scene etc... }
|
|