|How to Hide HTML code|
no right click?
ok, so its been 2 full days that I have been working on this one page which I dont want people to easily copy/paste the html code on their own website.
how do I make it difficult for webmasters to copy/paste?
other than the two simple methods below:
#1- no right click script : I have tried that but the script works on certain browsers only
#2- pressing enter on the source code so it appears at the very bottom: too simple to fool anyone, only a few guys might miss scrolling down the page
Here's the best help I can offer you: Don't bother. Anyone worth their salt as a Webmaster will be able to view or copy your HTML source no matter what you do. Instead of spending any more time on this, spend the time designing or writing another page. Forget this distraction and get on with ranking, promoting, marketing.
In order to defeat your "no right click," I have only to tick a single checkbox in my browser toolbar to disable JS... problem sorted. Or click on View->Page Source and your page source opens in my HTML editor. And besides, I could always copy your page from my browser cache even without that tick box and/or View->Page Source.
In order to be displayed, your page must be stored --at least temporarily-- on the client's computer. And from there, it can be saved and viewed. There's nothing you can do about that, and it is not worth worrying about; This is simply how HTML and browsers work.
Offered as a friend who's already been there, done that, and found it to be a total waste of time. :)
Oh, I also thought that AltaVista was King, and that Google was an awful name and would never amount to very much... But that was a different decade. :)
jdMorgan: hehe, thanks for the reply. I know that I probably shouldn't bother, but it would be very frustrating to see some one copy/paste all entries and links and also code that I used. it took me hours to complete 2 pages but will take less than 5 minutes to copy/paste it.
I guess I cant prevent all webmasters from copying the code, but at least I should make it a bit difficult for some of them, right?
I don't bother. To re-phrase what you wrote to describe my past experience and maybe put this in perspective, "It would be very frustrating to see someone copy/paste my pages. It took me 12 years to complete the 2000+ pages on one of my sites, but will take less than 2 minutes for a scraper robot to download it all and copy it."
Now, that's not entirely true, since I've taken measures at the server level to put a stop to mass-downloading attempts, but every single one of those pages can be manually copy-and-pasted if someone really wants to do it that way.
If your page contains original material not gathered from elsewhere, register a copyright on it ($35). But otherwise, like I said, there are much better things to worry about in this Web game.
The only person you would stop is someone that wouldn't know what source code is to begin with.... truthfully it's really useless and not worth the time as already stated by jdMorgan.
Actually I saw an online version for the most popular obfuscater, no need to purchase anything.. lol It was only a line or two of code.
|If your page contains original material not gathered from elsewhere, register a copyright on it ($35). |
Note that registering a copyright gives you no more or less protection under US copyright law. When you publish a page of original content its immediately copyrighted. However when you register it allows you certain rights for suing beyond what the actual damages are and gives a firm date. That can't prevent someone from claiming they published it prior to your registration though. Unless it's a very important piece of material I'd forgo the registration.
|jdMorgan: Here's the best help I can offer you: Don't bother. |
I second that.
If you're affraid that someone will copy your work (source codes, images, etc.) -- don't place your work on the internet.
It's really that simple :)
Also: the more you are trying to obfuscate something or prevent someone to access your work, the more exciting it will be for the wrong people to gain access to your work.
thank you guys for the response. At least now I know, that there is nothing I can do about it. :)
On the plus side - if your work is good enough to steal, if the market values your work - keep working, keep developing, keep one step ahead, keep increasing your share of the market.
You can't stop the theft, but you can get really good, and probably reasonably effective, at sending 'cease and desists'. Simple searches will identify stolen text, and there are tools available if you've got a lot of it to watch over. Mostly, just keep building your niche and increasing your share.
My advice is to turn the disadvantage in a benefit.
If you make all internal links to your site absolute with your domainname, like www.example.com/somelink.html, these absolute links will be copied when someone copies your page. My experience is that only a small fraction of copiers change these links to links on their own site and if they leave them in the source it gives you free pagerank and visitors.
Your only task is to wait when people start copying your pages and then watch your backlink list in Google webmaster tools :)