Anything that has to do with website coding, HTML, XHTML, DHTML, CSS, PHP, PERL, ASP, ColdFusion, C++ and so on.
Hiding HTML
Is there a way to hide the HTML of a website so you can't view it through right click?
Re: Hiding HTML
Nope.... what exactly are you wanting to hide?
If you want to hide auto-generating HTML, and just display the produced HTML, do it within a php file, and use php include in another file... actually, as i think about it, you could do that with just regular HTML. But, whatever the site is displaying currently, anyone can see that with their browser.
Re: Hiding HTML
How about disabling the right click feature. I do not know if there is a way around this but I have ever seen this message on a website "right clicking is disabled" when I right clicked.
Could this be the work of Javascript? Re: Hiding HTML
Yes you can hide the source code several ways.
First you can use the disable right click code
This is easy to get around though all you have to do is go to a website like http://www.selfseo.com/html_source_view.php and type in the web address The second method is to use a tool that encrypts the code. There are free tools like http://www.designerwiz.com/mf.htm?http& ... ptHTML.htm I Don't Promote I Provide
Re: Hiding HTML
I also use a firefox add-on that allows the right click context menu to popup even when there is the right-click protection. But, many regular users don't know about such things.
Also, if it's just for viewing the source, many browsers have the "view source" opportunity in their top toolbar, not just in the right click menu. So yah, it will deter some people, but any tech savvy people can get around it.
Re: Hiding HTML
Yes right click is not a protection at all. If you want to hide your HTML content from being displayed the only ways is encrypting such content.
There are a number of encryption programs available for such task, although knowledgeable people aiming to grab your code may decrypt it. Find further information on such software visiting this page http://javascript.about.com/od/referenc ... ptsoft.htm
Re: Hiding HTML
Thanks for the encrypting information. I am creating a custom google search in a niche where there's others, but I am stepping mine up and using the ajax api, and i don't want my competitors just copying and pasting my code and changing it to their site's API....
Thanks again!
Re: Hiding HTML
I agree with you. I do not know how disabled right mouse button will hide your HTML code. Only way is encryption. But if a person is determined to see it, the encryption will only slow him down.
Re: Hiding HTML
ye this way u can hide the html but be sure u do the thing ritely
Re: Hiding HTML
mudit_bhargava can you please explain me how disabling the right mouse button will prevent someone from seeing the html code a particular page? If he cant use his right mouse button what happens? He can view the source any time he wants.
Re: Hiding HTML
Me too have same question. I think I got better answer from this forum. I'll try above code in my web site and I'll check it out. I have online library web site and I want to hide my html code. I'll try the above technique and I'll post my experience.
Re: Hiding HTML
It seems like it a big issue for the forum members. I found this site. I have not tried anything of it but it looks legit and i think you will have some success with it.
12 posts • Page 1 of 1
Hiding HTMLWho is onlineUsers browsing this forum: No registered users and 0 guests |