Return to iWEBTOOL

Go Back   iWEBTOOL Talk > The Web and your Website > Programming
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
 
Welcome to iWEBTOOL Talk, where you talk about webmaster-related stuff.
 
Discuss topics which interest you.
With over thousands of threads (topics), we're sure you'll find something that'll interest you.
Ask for help whenever you need it.
We have thousands of members who are available to help you if you need it.
It's absolutely FREE!

 1  Register           2  Browse the board           3  Discuss whatever may interest you!
 


Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 09-01-2006, 08:30 PM   #1
Joan
Member
 
Joan's Avatar
 
Join Date: Jan 2006
Location: Takatuka Land
Posts: 67
Joan will become famous soon enough
Default How to protect my context on the website?

What code do I have to insert to block the usual copy action which can use everybody?

Can anybody help me?

I mean like this page:
http://www.dlacuadra.com/coches.htm

you cannot copy the text except you wright the whole text off
__________________
Funny smilies
Joan is offline  
 
This is an Ad Revenue Sharing forum Place your advert here
SEO Checklist
Get yourself better ranking with
our "Do-it-Yourself" SEO Checklist.
Click Here
Old 09-01-2006, 08:38 PM   #2
UnKnown
Moderator
 
UnKnown's Avatar
 
Join Date: Aug 2006
Posts: 1,145
UnKnown is just really niceUnKnown is just really niceUnKnown is just really niceUnKnown is just really niceUnKnown is just really nice
Default Re: How to protect my context on the website?

<------------------------------------>
<script language=JavaScript>
<!--



var message="Function Disabled!";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!docume nt.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")

// -->
</script>
<------------------------------------>
This one works with ie and firefox
but this code is useless
anyone can hit ctrl and c
or just go to view then source
just encrypt what you dont want stolen
your pretty much wasting your time with this no rightclick function
UnKnown is offline  
Old 09-01-2006, 08:51 PM   #3
Joan
Member
 
Joan's Avatar
 
Join Date: Jan 2006
Location: Takatuka Land
Posts: 67
Joan will become famous soon enough
Default Re: How to protect my context on the website?

Quote:
Originally Posted by rateanddateonline View Post
<------------------------------------>
<script language=JavaScript>
<!--



var message="Function Disabled!";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!docume nt.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")

// -->
</script>
<------------------------------------>
This one works with ie and firefox
but this code is useless
anyone can hit ctrl and c
or just go to view then source
just encrypt what you dont want stolen
your pretty much wasting your time with this no rightclick function

How can I encrypt?
__________________
Funny smilies
Joan is offline  
Old 09-01-2006, 08:54 PM   #4
UnKnown
Moderator
 
UnKnown's Avatar
 
Join Date: Aug 2006
Posts: 1,145
UnKnown is just really niceUnKnown is just really niceUnKnown is just really niceUnKnown is just really niceUnKnown is just really nice
Default Re: How to protect my context on the website?

you are wanting to protect your website code or just the text on your site?
UnKnown is offline  
Old 09-01-2006, 08:55 PM   #5
UnKnown
Moderator
 
UnKnown's Avatar
 
Join Date: Aug 2006
Posts: 1,145
UnKnown is just really niceUnKnown is just really niceUnKnown is just really niceUnKnown is just really niceUnKnown is just really nice
Default Re: How to protect my context on the website?

http://www.iwebtool.com/html_encrypter
UnKnown is offline  
Old 09-01-2006, 09:00 PM   #6
Joan
Member
 
Joan's Avatar
 
Join Date: Jan 2006
Location: Takatuka Land
Posts: 67
Joan will become famous soon enough
Default Re: How to protect my context on the website?

Quote:
Originally Posted by rateanddateonline View Post
you are wanting to protect your website code or just the text on your site?
I want to protect the text as mentioned above. I understand that everybody coan wright it off but how can I block the right mouse click copy and the ctrl c ( copy ) action?
__________________
Funny smilies
Joan is offline  
Old 09-01-2006, 09:41 PM   #7
UnKnown
Moderator
 
UnKnown's Avatar
 
Join Date: Aug 2006
Posts: 1,145
UnKnown is just really niceUnKnown is just really niceUnKnown is just really niceUnKnown is just really niceUnKnown is just really nice
Default Re: How to protect my context on the website?

i showed you above how to stopt the right click but i dont think it is possible to keep a user from using keyboard functions
UnKnown is offline  
Old 09-01-2006, 10:01 PM   #8
luigy
Junior Member
 
luigy's Avatar
 
Join Date: Aug 2006
Posts: 17
luigy will become famous soon enough
Default Re: How to protect my context on the website?

stopt the right click is the best you can do.
luigy is offline  
Old 09-03-2006, 10:09 AM   #9
Joan
Member
 
Joan's Avatar
 
Join Date: Jan 2006
Location: Takatuka Land
Posts: 67
Joan will become famous soon enough
Default Re: How to protect my context on the website?

Quote:
Originally Posted by rateanddateonline View Post
Example, this is the text:
<b>AUDI TT</b><br><br><br>

AUDI COUPÉ TT 1.8 Quattro Sport <br>
AUDI ROADSTER TT 1.8 Quattro <br>
AUDI COUPÉ TT 1.8 Le Mans Quattro <br>
AUDI ROADSTER TT 1.8 T <br>
AUDI COUPÉ TT 1.8 T <br>
AUDI COUPÉ TT 1.8 T Quattro <br>
AUDI COUPÉ TT 3.2 Quattro <br>
AUDI COUPÉ TT 3.2 Quattro DSG <br>
AUDI ROADSTER TT 1.8 <br>
AUDI V-8 4.2 <br><br><br>

and this is the encrypted text:
<Script Language='Javascript'>
<!-- HTML Encryption provided by iWEBTOOL.com -->
<!--
document.write(unescape('%3C%62%3E%41%55%44%49%20% 54%54%3C%2F%62%3E%3C%62%72%3E%3C%62%72%3E%3C%62%72 %3E%0D%0A%0D%0A%0D%0A%41%55%44%49%20%43%4F%55%50%C 9%20%20%54%54%20%31%2E%38%20%51%75%61%74%74%72%6F% 20%53%70%6F%72%74%20%3C%62%72%3E%0D%0A%41%55%44%49 %20%52%4F%41%44%53%54%45%52%20%20%54%54%20%31%2E%3 8%20%51%75%61%74%74%72%6F%20%3C%62%72%3E%0D%0A%41% 55%44%49%20%43%4F%55%50%C9%20%20%54%54%20%31%2E%38 %20%4C%65%20%4D%61%6E%73%20%51%75%61%74%74%72%6F%2 0%3C%62%72%3E%0D%0A%41%55%44%49%20%52%4F%41%44%53% 54%45%52%20%20%54%54%20%31%2E%38%20%54%20%3C%62%72 %3E%0D%0A%41%55%44%49%20%43%4F%55%50%C9%20%20%54%5 4%20%31%2E%38%20%54%20%3C%62%72%3E%0D%0A%41%55%44% 49%20%43%4F%55%50%C9%20%20%54%54%20%31%2E%38%20%54 %20%51%75%61%74%74%72%6F%20%3C%62%72%3E%0D%0A%41%5 5%44%49%20%43%4F%55%50%C9%20%54%54%20%33%2E%32%20% 51%75%61%74%74%72%6F%20%3C%62%72%3E%0D%0A%41%55%44 %49%20%43%4F%55%50%C9%20%54%54%20%33%2E%32%20%51%7 5%61%74%74%72%6F%20%44%53%47%20%3C%62%72%3E%0D%0A% 41%55%44%49%20%52%4F%41%44%53%54%45%52%20%20%54%54 %20%31%2E%38%20%3C%62%72%3E%0D%0A%41%55%44%49%20%5 6%2D%38%20%34%2E%32%20%3C%62%72%3E%3C%62%72%3E%3C% 62%72%3E%0D%0A'));
//-->
</Script>

CAN I REALLY REPLACE THE TEXT ABOVE WITH THIS ENCRPYPTED TEXT?

WHAT ABOUT GOOGLE , GOOGLE CANNOT READ THE TEXT ANYMORE?
I AM NOT SURE IF THIS WILL WORK AT ALL.
__________________
Funny smilies
Joan is offline  
Old 09-03-2006, 07:00 PM   #10
compuXP
Retired Member
 
compuXP's Avatar
 
Join Date: Dec 2005
Posts: 139
compuXP will become famous soon enough
Default Re: How to protect my context on the website?

Quote:
Originally Posted by luigy View Post
stopt the right click is the best you can do.
But it's SOOO easy to get around that (use spacebar to hit "OK" and the menu still comes up...)

Joan: Just put that in your webpage where you need the text to be displayed. Yes, it will work.
__________________
Retired Moderator/Member/Friend/Helper - it was great working with all of you!
compuXP is offline  
Old 09-03-2006, 10:28 PM   #11
Katey
Senior Member
 
Katey's Avatar
 
Join Date: Apr 2006
Location: Hull, United Kingdom.
Posts: 317
Katey has much to be proud ofKatey has much to be proud ofKatey has much to be proud ofKatey has much to be proud ofKatey has much to be proud ofKatey has much to be proud ofKatey has much to be proud ofKatey has much to be proud of
Default Re: How to protect my context on the website?

Hi there,

compuXP is right, all you have to do is quickly click the OK on the command box and keep clicking the right mouse button, and the menu still appears. Either encrypt your HTML code, or simply copyright everything and hope for the best. That's all I would suggest.


Regards,
Kieran Taylor.
Katey is offline  
 
This is an Ad Revenue Sharing forum Place your advert here
Webmaster Tools Webmaster Tools Click Here
Closed Thread

(Threads which have no activity for more than 30 days are automatically closed.)



Quick Reply
Message:

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Do you own a sport website or do you have a website that has 1000-5000 visitors? John M Marketing and Promotion 0 09-07-2006 09:08 AM
be careful, protect your domains sjl500 Domain Name 3 08-30-2006 12:19 PM


All times are GMT. The time now is 07:37 PM.


Powered by vBulletin v3.6.7 © 2008, Jelsoft Enterprises Ltd. SEO by vBSEO © 2006, Crawlability, Inc.