Gruzin Posted September 23, 2006 Share Posted September 23, 2006 Hi guys,I need to hide hmlt code from user, any ideas how can I do that? actually I've googled it, but... I don't need to disable right click, just to disable from View>Source Thanks for your help,George Quote Link to comment Share on other sites More sharing options...
michaellunsford Posted September 23, 2006 Share Posted September 23, 2006 it's tough to know what to do without knowing what you're trying to hide, but here are a few ideas:1. you _could_ put the secret parts in an attached javascript file that writes the HTML back to your document. then compress (obfuscate) the javascript file with something like packer.http://dean.edwards.name/packer/revealing source wouldn't show any of your code. Even if they have the wherewithall to view the javascript page separately, the compression would likely be too confusing to figure out.2. you could use PHPs GDlib to embed the magic part of your page in an image -- so all they get is a big jpeg, which really doesn't have source to reveal.3. use Macromedia (Adobe) Flash Quote Link to comment Share on other sites More sharing options...
Gruzin Posted September 23, 2006 Author Share Posted September 23, 2006 Thanks a lot mate ;) Quote Link to comment Share on other sites More sharing options...
fenway Posted September 25, 2006 Share Posted September 25, 2006 Don't bother... whatever you're coding, other people have as well. Quote Link to comment Share on other sites More sharing options...
oatssi46 Posted September 27, 2006 Share Posted September 27, 2006 a Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.