help...how to make this script..

This is a discussion on "help...how to make this script.." within the JavaScript Forum section. This forum, and the thread "help...how to make this script.. are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jun 9th, 2008, 04:20
New Member
Join Date: Jun 2008
Location: er
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
help...how to make this script..

hello..how to make javascript to disable right clik but only enable "copy,paste and select all" function on my web site. and it can use
in firefox and internet explore.hope can help me ...
Reply With Quote

  #2 (permalink)  
Old Jun 9th, 2008, 08:50
Reputable Member
Join Date: Mar 2008
Location: Chester, UK
Age: 17
Posts: 417
Thanks: 2
Thanked 27 Times in 27 Posts
Re: help...how to make this script..

First question is why do this?

I don't think this pre-exists

And some links to look at

Context Menu

Another context menu

And a clipoard copy

You would have to read up on how they work, most probably modify them and combine them.

Do you really need the paste? what would they be pasting into your page?
Reply With Quote
  #3 (permalink)  
Old Jun 9th, 2008, 16:45
saltedm8's Avatar
Lead Administrator

SuperMember
Join Date: Nov 2005
Location: Always About
Age: 27
Posts: 1,501
Blog Entries: 1
Thanks: 1
Thanked 8 Times in 8 Posts
Re: help...how to make this script..

i also dont see the point in this ?, are you aware that everything you can do with right click, you can do in your browser menu ?

wont protect your code at all, there is no way to protect it, personally i dont even bother to do that, i just disable javascript
Last Blog Entry: Basic Advice for newbies (Feb 1st, 2008)
Reply With Quote
  #4 (permalink)  
Old Jun 9th, 2008, 18:28
Reputable Member
Join Date: Mar 2008
Location: Chester, UK
Age: 17
Posts: 417
Thanks: 2
Thanked 27 Times in 27 Posts
Re: help...how to make this script..

Agreed, however some circumstances i've seen things like this used.... such as online email, it's not to remove functionality... it's just part of the interface for making it useful for the client.

But on normal web pages this is 'abnormal' and may be quite a turn off for some people.

So i am pretty curious why you want this?
Reply With Quote
  #5 (permalink)  
Old Jun 10th, 2008, 03:22
New Member
Join Date: Jun 2008
Location: er
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: help...how to make this script..

i dont want to protect my code...i only want to study that function only....any more help...???
Reply With Quote
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Couldn't make it up... unitedcraig Webforumz Cafe 3 Jun 2nd, 2008 12:52
How to make IE 6 look like FF2 and IE7? Phil Web Page Design 23 Nov 16th, 2007 10:06
how make this design mandriva Web Page Design 22 Aug 14th, 2007 14:05
How do i make a log in script? swarf Web Page Design 5 Jan 29th, 2006 08:24
Make your choice for 20/10/03! Webforumz Staff Entry, Nominations and Voting 0 Oct 16th, 2003 09:00


All times are GMT. The time now is 07:18.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43