| Author |
Message |
jeremy SEO Green Belt
Joined: 18 May 2006 Posts: 142
|
Posted: Sun Aug 06, 2006 10:30 am Post subject: function disabled |
|
|
I tried this before but did not ask about it.
I went to the teeth website and highlighted some content
to copy into a software that will tell me the keyword density.
When I hit copy it says function disabled.
How can I disable that function on my websites.
Actually when I right-click it says function disabled.
Jeremy |
|
| Back to top |
|
 |
Charles Heflin Administrator
Joined: 16 May 2006 Posts: 337
|
Posted: Sun Aug 06, 2006 10:34 am Post subject: Re: function disabled |
|
|
| jeremy wrote: | I tried this before but did not ask about it.
I went to the teeth website and highlighted some content
to copy into a software that will tell me the keyword density.
When I hit copy it says function disabled.
How can I disable that function on my websites.
Jeremy |
This will be covered in The Master Plan but I will go ahead and give it away here:
| Quote: | <script language="Javascript1.2">
// Set the message for the alert box
am = "This function is disabled!";
// do not edit below this line
// ===========================
bV = parseInt(navigator.appVersion)
bNS = navigator.appName=="Netscape"
bIE = navigator.appName=="Microsoft Internet Explorer"
function nrc(e) {
if (bNS && e.which > 1){
alert(am)
return false
} else if (bIE && (event.button >1)) {
alert(am)
return false;
}
}
document.onmousedown = nrc;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (bNS && bV<5) window.onmousedown = nrc;
</script> |
Place the code above before the </head> tag in your HTML.
This code will prevent right clicking only just like on animated-teeth
All the best,
Charles |
|
| Back to top |
|
 |
Sinkh SEO Yellow Belt
Joined: 26 May 2006 Posts: 27
|
Posted: Sun Aug 06, 2006 12:00 pm Post subject: |
|
|
| Just so you know, I can copy and paste just fine from Firefox. |
|
| Back to top |
|
 |
Charles Heflin Administrator
Joined: 16 May 2006 Posts: 337
|
Posted: Sun Aug 06, 2006 2:48 pm Post subject: |
|
|
| Sinkh wrote: | | Just so you know, I can copy and paste just fine from Firefox. |
The function above does not prevent copying, it prevents right clicking.
I don't know of any script that prevents someone from copying text from a website unless the text is an image.
Charles |
|
| Back to top |
|
 |
jeremy SEO Green Belt
Joined: 18 May 2006 Posts: 142
|
Posted: Sun Aug 06, 2006 3:33 pm Post subject: |
|
|
Thanks Charles.
Sinkh is you can't right click you can't copy.
Jeremy |
|
| Back to top |
|
 |
SEMAdvantage SEO White Belt
Joined: 05 Aug 2006 Posts: 7
|
Posted: Sun Aug 06, 2006 11:03 pm Post subject: Worried about digital theft? |
|
|
If you're wanting to "secure" your site from easy content theft - you really only have one option: password protect the site. Which will defeat the purpose of trying to get SE traffic!
As was mentioned above, you can still copy and paste the content into an editor.
If you are concerned about someone seeing your source - once it's downloaded into your browser, it's going to be possible to view it. Some tatics - like the disable function - make it a little more challenging; but if someone really wants it, they'll get it.
If your a webmaster - just copy the URL; make a link on one of your own pages and use a "save target as" to download the source.
If you're concerned your content is going to start showing up on other sites, subscribe to copyscape to be notified when your content is found on other sites.
I'm not putting this up here to promote theft - it's just to show, it's not a "high" level of security you achieve by disabling the function. |
|
| Back to top |
|
 |
Ahri22 SEO Blue Belt
Joined: 01 Jun 2006 Posts: 163 Location: Australia
|
Posted: Sun Aug 06, 2006 11:27 pm Post subject: |
|
|
| Charles Heflin wrote: | | Sinkh wrote: | | Just so you know, I can copy and paste just fine from Firefox. |
The function above does not prevent copying, it prevents right clicking.
I don't know of any script that prevents someone from copying text from a website unless the text is an image.
Charles |
I have seen sites that you can't copy text from (I recall one saying protected by Copyscape). I was trying to copy it so I could do a review of the site! Made life more challenging as it wouldn't let me highlight the text...
Have no idea how it's done though.
Cheers
Fiona |
|
| Back to top |
|
 |
Charles Heflin Administrator
Joined: 16 May 2006 Posts: 337
|
Posted: Mon Aug 07, 2006 9:22 am Post subject: |
|
|
| Ahri22 wrote: | | Charles Heflin wrote: | | Sinkh wrote: | | Just so you know, I can copy and paste just fine from Firefox. |
The function above does not prevent copying, it prevents right clicking.
I don't know of any script that prevents someone from copying text from a website unless the text is an image.
Charles |
I have seen sites that you can't copy text from (I recall one saying protected by Copyscape). I was trying to copy it so I could do a review of the site! Made life more challenging as it wouldn't let me highlight the text...
Have no idea how it's done though.
Cheers
Fiona |
It would be great to find a script that prevents highlighting and copying. I wonder if Copyscape offers such service.
I will poke around and see if I can find anything.
Thanks,
Charles |
|
| Back to top |
|
 |
Charles Heflin Administrator
Joined: 16 May 2006 Posts: 337
|
Posted: Mon Aug 07, 2006 9:45 am Post subject: |
|
|
I found a couple of snippets of code that block highlighting in IE, Netscape and Firefox:
For IE & Firefox change your <body> tag to:
<body onselectstart="return false">
For Netscape Place this code right after your body tag
<span onMouseDown="return false">
Then place this code right before your </body> tag at the ned of your HTML
</span>
It works but if someone really wanted to copy your stuff they could still do a view source, copy your code, and import it into an HTML editor.
At least this will make it a little harder for a potential thief to copy your stuff.
Hope this helps,
Charles |
|
| Back to top |
|
 |
WestWing888 SEO White Belt
Joined: 11 Sep 2006 Posts: 4
|
Posted: Fri Dec 22, 2006 2:55 pm Post subject: |
|
|
| Quote: | It works but if someone really wanted to copy your stuff they could still do a view source, copy your code, and import it into an HTML editor.
At least this will make it a little harder for a potential thief to copy your stuff. |
Hi,
I know this is an old thread but this might help;
http://www.protware.com/
I haven't used it myself but looks appealing for protection purposes. Among many other things, it encrypts the source html so if someone hits "View Source" in IE all they get is a bunch of messed up characters.
All the best! |
|
| Back to top |
|
 |
|