Posted by BrendaTx on 8/20/06 12:40pm Msg #139623
OT - HTML Coding
I am writing a NSA getting started book for content - it will be on my website for free. I might sell a printable version, but I don't want it to be copied and pasted to other people's sites.
Therefore, I would like to know three fancy codes.
No copying code.
No printing code.
No ability to show source code.
Are these available?
|
Reply by Korey Humphreys on 8/20/06 1:28pm Msg #139626
I'm interested in this type of code too. If you have knowledge regarding this type of HTML coding, please share with us. :-)
TIA
P.S.: Hi Brenda how's it going? :-)
|
Reply by BrendaTx on 8/20/06 1:37pm Msg #139628
Dear "Tia" - Things are going well. However, while you apparently have a life and post less, as you can see, I do not. It's too easy when I am sitting here writing, to switch over to NR and check the board.
The reason I am writing the book in question is something others with websites should look into. Useful articles can generate you money.
Using google adsense will earn you money on your website. It's not going to make you rich immediately, but I do enjoy those nice little unexpected checks from google.com. Many times people make fun of me for spending so much time on NR. There's a simple answer to this aside from the enjoyment I get from the forum. Many people click over to my website and look at my articles. When a reader clicks through the google ads, I earn a few pennies for doing the writing that I do.
There's an old saying that when you are doing what you love as employment, you'll be successful. So....

|
Reply by Korey Humphreys on 8/20/06 1:48pm Msg #139631
Good to hear :-) So what about google? Google will send you a check if people do what????? How does that work? Interesting.............
I would say I have a 'half a life'. I still read the posts on NotRot throughout the day. I think I may be an addict!
|
Reply by BrendaTx on 8/20/06 1:50pm Msg #139632
Re: OT - HTML Code and Google adsense for content
https://www.google.com/adsense/?hl=en_US&sourceid=aso&subid=ww-en_US-et-ads&medium=link
Read all about it! I have been working at it for awhile as I can.
|
Reply by Ndwa on 8/20/06 1:55pm Msg #139635
Re: OT - HTML Code and Google adsense for content
I have not look into the restricted codes, but I think I saw something to that extend in my webhost control pannel. Might want to check with yours.
|
Reply by BrendaTx on 8/20/06 1:56pm Msg #139637
Re: OT - HTML Code and Google adsense for content
Nd, you just copy the google script into your own HTML where you want it to be. You can use it on one website, or one hundred, same code and account. Zat what you meant??
|
Reply by BrendaTx on 8/20/06 3:22pm Msg #139644
Re: OT - HTML Code - JavaScript - Korey
Here you go - this works for the right click, select all, copy maneuver - no can do.
<script LANGUAGE="JavaScript"> function click() { if (event.button==2) { alert('This site is copyright protected.'); } } document.onmousedown=click // --> </script>
|
Reply by Korey Humphreys on 8/20/06 3:41pm Msg #139645
Re: OT - HTML Code - JavaScript - Korey
Okay... so I just copy that and past it in my HTML code and it will prevent people from right clicking... gotcha!! Thanks
You're a wealth of knowledge my surrogate mommy. :-)
|
Reply by Korey Humphreys on 8/20/06 4:14pm Msg #139651
CRAPOLA!!!! CTRL C still copies it!!! Shoot! Any ideas? n/m
|
Reply by Gerry_VT on 8/20/06 2:14pm Msg #139638
HTML per se has no no codes to limit copying, printing, or the viewing of source. It is impossible to do any of these things in a way that will protect the data from someone who really wants it, but if you post it as a PDF you might be able to prevent the casual reader from copying or printing. It's easy enough to view PDF source, but it's such a horrible mess that few people can do anything with it.
|
Reply by Life Saving Services - Doug on 8/20/06 2:56pm Msg #139640
I've seen it where they change the font to where it is unreadable. But most users do not understand as the previous reader did that you merely copy then past and change the font to a readable color and text. Am I bad ?
But it is true there is no unreadable code.
|
Reply by MichiganAl on 8/20/06 4:09pm Msg #139650
Here ya go
Put this code in the head section of your html. It prevents someone from right clicking to pull up your source code:
<SCRIPT language=JavaScript> <!-- http://www.spacegun.co.uk --> var message = "function disabled"; function rtclickcheck(keyp){ if (navigator.appName == "Netscape" && keyp.which == 3){ alert(message); return false; } if (navigator.appVersion.indexOf("MSIE" != -1 && event.button == 2) { alert(message); return false; } } document.onmousedown = rtclickcheck; </SCRIPT>
To prevent someone from copying your text from your website, you could create your text as an image instead of actual text. I've used Fireworks in the past to do this.
Also, you could imbed something in your text or image that can't be seen. The smallest possible size text, that says something like "brendastextcopyright2006." Then you can periodically do a search to see if someone copied your text and pasted it on to their site.
Ultimately, if someone's really intent on doing it and they're a techie who knows what they're doing, I don't think they can be stopped.
|
Reply by BrendaTx on 8/20/06 5:09pm Msg #139654
Re: Here ya go - Thanks Al and everyone...Book is finished
I finished it. You can get to it by looking at my profile - it's the last link listed.
|
Reply by BarbaraL_CA on 8/20/06 4:55pm Msg #139653
Re: OT - HTML Coding: use HTML Protector..link is...
http://www.antssoft.com/htmlprotector/index.htm?ref=google&group=1
There is a trial version and to buy it is $39.95. I purchased it, and it is what I use on my website. Shows protected code (can't view source), can't copy - not sure about print, but check it out.
|
Reply by BrendaTx on 8/20/06 5:20pm Msg #139655
Re: OT - HTML Coding: use HTML Protector..link is...
I am tired of typing now...but thanks so much!
Later I will try some of these codes...I used the one I had found.
|
Reply by cassiewi on 8/20/06 7:09pm Msg #139667
Re: OT - HTML Coding: use HTML Protector..link is...
I just have to say wow! There is a lot of very useful information in there. Thank You! I just sent you an email as well.
|
Reply by BrendaTx on 8/20/06 7:42pm Msg #139669
Re: OT - HTML Coding: Cassie - I got it and responded.
Your input was invaluable.
|
Reply by BarbaraL_CA on 8/20/06 8:52pm Msg #139672
Re: OT - More about HTML Protector....
I received an email from a person on this board who was able to "get" my source code, even though it doesn't show when "view source" is selected. I did some research, and actually this IS possible IF you don't have your source code "encrypted" (and I didn't). I did a test with the encryption and sure enough it is garble-de-gook if you "know how to view the source". I chose not to encrypt because the search engine spiders will not search your sight correctly when encrypted.
About printing... there is an option where you can disable the "Print" so that when a person tries to print your webpage they get a blank page.
This software seems to have a lot of flexibility, but you have to weigh what you really want.
|
Reply by BrendaTx on 8/20/06 9:11pm Msg #139675
Re: OT - More about HTML Protector....
Thanks Barbara. I have not really worried a whole lot about my content being copied, but there's been so much talk about people stealing other's info on websites I am considering trying to fix it. Appreciate your input.
|
Reply by Ernest__CT on 8/22/06 4:44am Msg #139858
Forget it.
You'll spend too much time attempting an impossible task. The techies will get anything they want, no matter how well the author thinks it is protected.
Save your energy!
|