| | Just for a bit of fun, I know its possible to disable the right click, but is it posible to disable the left click??? Laterz Matty |
|
|
QUOTE(prodigy @ Aug 20 2004, 09:06 AM)I heard from proscripters you cant desable left click unless you edit or create your own browser.wow, thats a kneeslapper now aint it? LOLOLOL, proscripters? hmm cant be too damn pro when a newb like me that knows *BLEEP* about javascript and such but yes you CAN disaable both mouse buttons or just the right/left lolololo, proscripters hahahaha. Sorry for... read more.
Yes. You could just do something like this:
CODE <body onclick="alert('Clicking is not allowed.'); return false"> If you only wanted to disable left clicking, you would have to change the code that checks whether the user had right-clicked to check for left-clicking. Does that help?
dont u mean u want no right click?
no left-clicking would be hilarious... though i don't believe they'd be able to navigate your site too well.
put a VIEW FREE PORN link in the middle of the page and disable left click haha
lol, that would be awesome! wouldn't do it on a really public site, where u want visitors... looooool
I heard from proscripters you cant desable left click unless you edit or create your own browser.
nah i did it jut then...
CODE <script language="JavaScript"> // distributed by [URL=http://hypergurl.com]http://hypergurl.com[/URL] <!-- var popup="Sorry, right-click is disabled.\n\nThis Site Copyright ©2000"; function noway(go) { if (document.all) { if (event.button == 1) { alert(popup); return false; } } if (document.layers) { if (go.which == 3) { alert(popup); return false; } } } if (document.layers) { document.captureEvents(Event.MOUSEDOWN); } document.onmousedown=noway; // --> </script> script was from http://hypergurl.com QUOTE(zip_mc @ Aug 20 2004, 07:05 PM) script was from http://hypergurl.com // distributed by http://hypergurl.com i didn't see that QUOTE(ill @ Aug 19 2004, 11:59 PM) no left-clicking would be hilarious... though i don't believe they'd be able to navigate your site too well. lol put a VIEW FREE PORN link in the middle of the page and disable left click haha then you hav to disable right click too......
lol u could just go viewsource and find it.. or it might be posible to use your keyboard..
i know how to disable right clicking, i had no idea you could disable left clicking too.
whats this world coming to???? heh just kidding Latest EntriesQUOTE(prodigy @ Aug 20 2004, 09:06 AM) wow, thats a kneeslapper now aint it? LOLOLOL, proscripters? hmm cant be too damn pro when a newb like me that knows *BLEEP* about javascript and such but yes you CAN disaable both mouse buttons or just the right/left lolololo, proscripters hahahaha. Sorry for laughin so much, its just the fact that you referred to them as "PRO" hahaha, sorry ne ways yes you can disable it like stated numerous times, i just needed to post this haha. [post #6/50] QUOTE(zip_mc @ Aug 20 2004, 07:05 PM) nah i did it jut then... CODE <script language="JavaScript"> // distributed by [URL=http://hypergurl.com]http://hypergurl.com[/URL] <!-- var popup="Sorry, right-click is disabled.\n\nThis Site Copyright ©2000"; function noway(go) { if (document.all) { if (event.button == 1) { alert(popup); return false; } } if (document.layers) { if (go.which == 3) { alert(popup); return false; } } } if (document.layers) { document.captureEvents(Event.MOUSEDOWN); } document.onmousedown=noway; // --> </script> script was from http://hypergurl.com Yea it works, its better off too use it to mess with peoples heads. Maybe you can disable both, left and the right click just to play with them. But that will be no point to it.
You can find more about JavaScript in this links:
www.js-examples.com www.javascript.com www.javascriptcity.com www.javascript-page.com www.javascript-2.com It's very cool script language! And the coolest things are examples [primers] !!!
Phut phut ? This post is still active ???
Some one told them how to do it long ago....I think they know now...lmao Anyways...disabling LEFT click is just weird....or funny Bye off to go trampolining x Becca
The Link is Here!
It disables left and right click. It was pretty annoying when I tried to highlight the code to paste in here. I had to use the keyboard. lol.
Recent Queries:-
Keywords : disable, left, click
(1) Hi, I have made a script which generates a BBcode when you run it, and displays it in a text field, Javascript / Html code to disable them (6) hi, i would like to know how the scrollbars, menubars etc.. can be disabled. I hope someone can help in internet explorer (42) CODE <style onload="function noRightClick() {if(event.button==2) Looking for disable, left, click
|
|
![]() Can you disable the left click? |
| ADD REPLY / Got an Opinion! | a humble request :-) | RAPID SEARCH! | Free Hosting | [X] |
|
Express your Opinions, Thoughts or Contribute your information that might help someone here. Ask your Doubts & Queries to get answers.. "Together, We enlight each other!" |
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP. | 500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE |
|