homepage Welcome to WebmasterWorld Guest from 54.197.171.109
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque & physics

Webmaster General Forum

    
How to Hide HTML code
no right click?
dailypress




msg:3625619
 2:24 am on Apr 13, 2008 (gmt 0)

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

please help

 

jdMorgan




msg:3625623
 2:42 am on Apr 13, 2008 (gmt 0)

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. :)

Jim

dailypress




msg:3625624
 2:51 am on Apr 13, 2008 (gmt 0)

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?

jdMorgan




msg:3625634
 3:43 am on Apr 13, 2008 (gmt 0)

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.

You can use a JavaScript page obfuscater, available for something like $29.99 to encode your whole page. It then won't be usable by people with JS disabled, and it will load and render slowly on older machines, but it will be hard to directly copy/paste. That is, unless someone purchases the JavaScript page de-obfuscator for $34.99...

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.

Best,
Jim

thecoalman




msg:3625712
 7:11 am on Apr 13, 2008 (gmt 0)

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.

That is, unless someone purchases the JavaScript page de-obfuscator for $34.99...

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.

OutdoorMan




msg:3625803
 11:54 am on Apr 13, 2008 (gmt 0)

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.

dailypress




msg:3625855
 2:41 pm on Apr 13, 2008 (gmt 0)

thank you guys for the response. At least now I know, that there is nothing I can do about it. :)

D_Blackwell




msg:3626934
 12:49 am on Apr 15, 2008 (gmt 0)

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.

lammert




msg:3627708
 9:40 pm on Apr 15, 2008 (gmt 0)

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 :)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved