Hides,menu,tool,from,browser,Protect,your,cod
Quick Search for:  in language:    
Hides,menu,tool,from,browser,Protect,your,cod
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Java/ Javascript Stats

 Code: 155,451 lines
 Jobs: 364 postings

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for Java/ Javascript.
Protect Your Source Code ??
By christopher.rav en on 10/18


format date
By Sam Collett on 10/18


Click here to see a screenshot of this code!Applicant assessment
By SP Tang on 10/18

(Screen Shot)

Emulated Typewriter
By Mike Powers on 10/17


Click here to see a screenshot of this code!Java-Asp chat
By Paul R. Richards on 10/17

(Screen Shot)

Click here to see a screenshot of this code!The Data Markup Language
By Tanwani Anyangwe on 10/16

(Screen Shot)

ordered binary tree
By Eric Repec InetSolution on 10/16


Infinite tree w/XML
By Eric Repec InetSolution on 10/16


Click here to see a screenshot of this code!Shiznit Javascript Color Picker
By Chris Towers on 10/15

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

No Source, No Right Click, No Key Press

Print
Email
 
winzip icon
Submitted on: 4/9/2000 4:51:52 AM
By: Wade R AKA (Do Me©)  
Level: Beginner
User Rating: By 24 Users
Compatibility:JavaScript

Users have accessed this code 17390 times.
 
 
     Hides menu bar and tool bar from the browser to Protect your code and images on web pages, plus it prevents right clicking. You need 3 pages 2 of mine and one of yours I included all three in the zip file plus a Read Me file. Enjoy and happy codeing :-) Please Please Please Vote for my code...I vote for yours when I download it :-) Ok I just Updated the Protect.htm with no key press ty for your input :-)
 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzipto decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.
 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Beginner category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
7/29/2000 5:16:20 AM:P.Balasubramaniyan, Software Engineer, Ampersand Software Applications Ltd, Banglore, India
DearWade R AKA , I saw your code 
security part, but your code fails in 
my testing, sorry to say that. It is a 
feed back from my heart don't mistake 
me.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/29/2000 5:23:50 AM:P.Balasubramaniyan
Dear Wade R AKA ,
I saw download your 
code protect.html and when i click the 
right button it is saying the "Cancel" 
button is disabled ok that is right, 
but after the middle button click and 
clicking the right button it is showing 
the popup menu, which is out of your 
context, and which should not happened, 
because you are protecting the source 
code which are been copied by the 
internet users.
pls check this 
out
Thanks
P.Balasubramaniyan
Softwar
e Engineer
Ampersand Software 
Solutions Ltd
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/11/2000 3:49:20 PM:Tony
What about the Edit > Select All and 
Copy commands.....
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/22/2000 6:03:21 PM:PaC
just like to add my opinion. nothing is 
view source safe or thief safe. 
a 
simple view-source:url in the page will 
get the contents then you can goto 
image urls from there. the only true 
way to keep something fully thief proof 
on the web, is not to publish it.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/18/2000 9:01:13 AM:Martin
I need to know like straight blocking 
click of mouse (right click) over a 
flash component.
Thanks for 
all.
martin!!! From Argentina to 
all!!!
P.D: my e-mail is 
fi2000do@yahoo.com
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/15/2001 8:49:24 PM:Bj@bj-land.com
Does not stop you from using [ctrl+c] 
for copying stuff!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/26/2001 11:14:07 AM:MangaMorgan
Y would you want to make something 
source safe? and if u did y in dhtml? 
an activex control/java applet or any 
commercil plugin (flash, shockwave, 
etc) would be a better job.
ne way, 
i've written a program (abit in VB - 
just a quick personnal prog so i 
couldn't be bothered with c++) to load 
the source strait out of the net the 
same way that ie does.
Finnaly, all 
webpages are cashed in your temp 
internet files (on pc & mac. I havn't 
used linux long enouth to know where it 
stores it :( ) so all u'll have to do 
is open the chased doument off the temp 
folder and into notepad.
Now in 
retrospect, was it really worth the 
hassle of produceing some code (and it 
looks as if u have put a great deal of 
time and thought into it) that tries to 
defy the very nature of the internet?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/26/2001 11:17:14 AM:MangaMorgan
You could also drag ur images other the 
address bar in ie!! And there is also a 
little bug in ie that i found my self 
and thats hitting the right mouse 
button and enter stright after! hehehe. 
ur code has soooo many loop holes!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/11/2001 7:18:42 PM:Greg C.
This is good code but it is to easy to 
get around there is only ONE way to 
make it so people CAN NOT  see your 
code (It works well with this code!) 
And that is to incript it, disable 
Right Clicking! (Pictures can be saved 
by dragging them in the address bar! or 
desktop and a page can be saved by 
dragging the icon upper left corner on 
the desk top! there is a way to disable 
it but cant find the code!) If you want 
to encript your code you can do it free 
on http://dynamicdrive.com !!!! but it 
makes editing very hard(I just encript 
the script I rarly edit!) but still if 
some one knows about the incription 
(Like my or any one that reads this) 
can unincrip the code and see it! but 
this is not likly! lastly you can just 
make the web browser freeze like I if 
you right click but this is rude and 
not nice you can look at this an my 
site @ gregsprogramming.cjb.net ! (I 
freezes after the 2 time!). 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/1/2001 2:26:45 PM:Kristin
If you hold down the left mouse button 
while you right click, you can copy 
pictures.  How can you disable that 
from happening without blocking the 
click with left mouse button?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/26/2001 4:46:49 PM:David J.
how do I disable the right button of 
the mouse over a flash 
presentation?
              David J.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/26/2001 4:47:49 PM:dave
How do I disable the right button of 
the mouse over a flash presentation?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/8/2001 11:29:38 PM:eric
shift F10 still works to execute a 
right click event from the keyboard, as 
well as the standard "right-click" menu 
key on a windows keyboard, i tested in 
ie6, but both those methods of 
obtaining a shortcut menu worked for 
me.
im with some of these guys above 
here, dont publish ANYTHING you dont 
want people to see to publicly 
accessable folders, its dumb to even 
think you can get away with 
that.
there will be no script or 
"golden" pieces of code on your pages 
that arent on a dozen others, anyway.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/23/2001 9:27:24 PM:Leon
Well the concept is good. But just hit 
F11 on the protected page and copy and 
paste the url to a new browser 
window.
Nothing will ever be safe 
from theiving.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/20/2002 5:10:49 PM:§DL§
To disable right click COMPLETELY no 
kidding, no alerts no bs, simply add 
this line inside you <BODY> 
Tag.
oncontextmenu=
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/20/2002 5:13:50 PM:§DL§
im sorry the text above didn't show the 
tag its    oncontextmenu(equal 
sign)(beginquotes)return false(end 
quotes)
people can save the webpage 
then view it with notepad though.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/2/2002 7:27:54 AM:Paras Wadehra
How can I protect users form viewing my 
source code when they say View --> 
Source in IE?? Please let me know at 
freeall@rediffmail.com
Thanx
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/9/2002 11:40:29 PM:
what about disabling apple-click on mac
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Java/ Javascript Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.