FTalk

FTalk

Welcome guest! Please Login or Register.

#1  2008-01-02 07:38:31

ReadMeNoT
 ReadMeNoT
ReadMeNoT's display avatar
» n00b
FTalk Level: zero
ReadMeNoT
readmenot city
63
3
2009-12-06
Website

Disable User's Keyboard

Disable User's Keyboard*


Code:

Code:

function keypressed() {
alert("Sorry, but you can't do that.");
}
document.onkeydown=keypressed;
// End  -->

This will keep the visitor from being able to copy using "CTRL + C"!

*Note - This will not disable commenting! So don't worry about that.

Note After Testing* That's kinda cool... you can't use the keyboard at all unless a comment box is "selected" for lack of a better word. It'd get really anoying for someone like me though who uses nothing but keyboard shortcuts to navigate.

I noticed backspace key still goes back a page, even though you get the notice, so I tried to see if you could cheat your way around it... guess not.... lol. If you try to copy anyway, you get this...

---------------------------
Microsoft Internet Explorer
---------------------------
Sorry, but you can't do that.
---------------------------
OK



...Only Hard Coders Survive!

                    

R-A-M-O-N-help[?] likes this topic.

#2  2008-01-02 08:25:36

Heero_Chrome
» n00b
FTalk Level: zero
6
0
2008-02-27

Re: Disable User's Keyboard

have any live previews??

#3  2008-01-02 08:25:51

pambihira
pambihira's display avatar
» FTalker
FTalk Level: zero
192
1
2010-03-03

Re: Disable User's Keyboard

hmmmm... :paranoid:


di bale ng pagod, wag lang tamad..

#4  2008-01-02 08:36:38

thephrenetic
 Mr. Faez
thephrenetic's display avatar
» FTalker
FTalk Level: zero
Malevolents The World...
2Gig Apacer Pdrive
243
2
2010-01-24
Website

Re: Disable User's Keyboard

Unnecessary for me or i dont know :eh: ..might prevent almost newbies out there from copying the source..haha

thnks for sharing it :eh:


#5  2008-01-02 08:40:41

Lordheinz
 aynztot
Lordheinz's display avatar
» FTalkElite
FTalk Level: zero
Some FTalkers ♥ Me!Some FTalkers ♥ My Threads!
Friendstertalk University
dubai.U.A.E.
5194
242
2010-02-28
Website

Re: Disable User's Keyboard

so are you using this one? i dont think this is such a good idea..theres so many ways in ripping ones's profile...better encrypt your files... :)

Last edited by lordheinz (2008-01-02 08:41:11)

#6  2008-01-02 09:35:57

romantiko13
 Rodolfo Estopin Eblamo
romantiko13's display avatar
» FTalker
FTalk Level: zero
juzz different
konohagakure
235
1
2009-10-14
Website

Re: Disable User's Keyboard

any preview?? :ninja:


#7  2008-01-02 10:01:42

pulasara
 Stupid Moderator
pulasara's display avatar
» FTalkGeek
FTalk Level: zero
Admin
Class X
digicorner.net
1121
3
Website

Re: Disable User's Keyboard

thanks Dude :eh:  :thumbsup:


Rule Number 5 No nudity and offensive content in any post including signatures and avatars.

Edited by Moderator

#8  2008-01-02 10:17:11

sahabat.peterpan
 Just call me Edo
sahabat.peterpan's display avatar
» SuperFTalker
FTalk Level: zero
8431
60

Re: Disable User's Keyboard

thanks 4 share  :thumbsup:


#9  2008-01-02 11:24:36

LhaDybLueS
 LhaDydeMuRe :3
LhaDybLueS's display avatar
» FTalkFreak
FTalk Level: zero
-ℓσvε ოe
Online Gamers Clan
somewhere in town
1756
51
2010-03-06
Website

#10  2008-01-03 05:44:02

slashedkite
 The Keyblade Master
slashedkite's display avatar
» FTalkGeek
FTalk Level: 4
got it memorized?
Class-S
Dark Meridian
1365
39
Website

Re: Disable User's Keyboard

cool trick but it's unnecessary to others especially to the users with cbox because they can't use the keyboard. They can't type their message.  :eh:


#11  2008-01-03 07:52:32

j0hnc3na
 John Felix Anthony Cena
j0hnc3na's display avatar
» FTalkAddict
FTalk Level: zero
U Cant See Me!!!
The Squared Circle
381
6
2010-01-15
Website

Re: Disable User's Keyboard

romantiko13 wrote:

any preview?? :ninja:

better try it to see have a preview... :D




Read the rules or be WARNED...
much worst , be
BANNED...

#12  2008-01-03 09:12:34

allvinn
 Lvin Cañete
allvinn's display avatar
» FTalker
FTalk Level: zero
Bacolod City
279
0
2010-01-31
Website

Re: Disable User's Keyboard

Preview? no need for a preview.... simple code, can't understand? :wasted:  paste the given code in your external js file and save... go to your profile and use your keyboard... hahahaha


#13  2008-01-03 09:35:20

bobcbar
 Bob
bobcbar's display avatar
» Former Moderator
FTalk Level: HARDCORE!
Novice ModeratorTop PosterSome FTalkers ♥ Me!
Dongduchon, Korea
11549
374
Website

Re: Disable User's Keyboard

I guess you are not aware of how to view someones source codes without using the keyboard :retard:


#14  2008-01-03 10:07:58

ezekielclarion
 ezekiel clarion
ezekielclarion's display avatar
» FTalkAddict
FTalk Level: zero
coder
philippines
578
25
2010-01-04
Website

Re: Disable User's Keyboard

Nice One...

#15  2008-01-03 21:41:35

thephrenetic
 Mr. Faez
thephrenetic's display avatar
» FTalker
FTalk Level: zero
Malevolents The World...
2Gig Apacer Pdrive
243
2
2010-01-24
Website

Re: Disable User's Keyboard

haha..yeah..dats true Bob.. :eh:


#16  2008-01-04 03:49:47

slashedkite
 The Keyblade Master
slashedkite's display avatar
» FTalkGeek
FTalk Level: 4
got it memorized?
Class-S
Dark Meridian
1365
39
Website

Re: Disable User's Keyboard

bobcbar wrote:

I guess you are not aware of how to view someones source codes without using the keyboard :retard:

i think your right sir.. =)


#17  2008-01-04 07:12:11

bobcbar
 Bob
bobcbar's display avatar
» Former Moderator
FTalk Level: HARDCORE!
Novice ModeratorTop PosterSome FTalkers ♥ Me!
Dongduchon, Korea
11549
374
Website

Re: Disable User's Keyboard

ReadMeNoT ....Good response to my comment  :D ur new post if it works will prevent even the mouse from being used.


#18  2008-01-05 03:45:06

Kamandag
 netstat -an | grep -i listen
Kamandag's display avatar
» FTalkManiac
FTalk Level: zero
F.U.D. (òÓ,)_\,,/
sudo nautilus
719
18
Website

Re: Disable User's Keyboard

i think its purpose is to protect your field inputs on your about me and/or testimonials to be copied and paste easily by copycats/posers. and besides the no right-click codes can be override by a combination of mouse and kbord keys so when your sourcecode is encrypted there's no way for the noob ripper steal your images.  :eh:



Quote: Don't Insult the Alligator till after you cross the river.
| My Blog Space |

#19  2008-03-04 00:36:33

azher15
 AdRiaN
azher15's display avatar
» FTalker
FTalk Level: zero
SIMPLE is enough.
n0where..,
215
0
2009-12-02

Re: Disable User's Keyboard

nice c0de buddy!

tNX!!



_______________________





       certfied addict..

#20  2008-03-05 02:45:56

fz_james
 JaMeXz CuTE
fz_james's display avatar
» FTalkGeek
FTalk Level: zero
> IM BACK!!
BiNaNgoNAn RiZaL
1108
3
2009-05-08
Website

Re: Disable User's Keyboard

:lol: nice code u got there


thx for ShAring thaT:penguin:


Search Friendstertalk

Board footer

The F Talk dot com
© 2002–2010 PunBB

Current time is 12:36:39 GMT

[ 13 queries - 0.052 second ]
Powered by SyntheticNetwork

FTalk

Welcome to FTalk! You'll need to login in order to fully use all the features and view all the sections of this site.

Please register if you're not yet a member. =)

( hide )