I want to disable ==) all keyboard keys or Ctrl+U (View source page function) in javascript if it possible,,, I try a Lot of codes but it didn’t work… it’s possible?!!
Want to disable keyboard? Yeah, it’s possible. Just google it.
However, have you ever thought about F10 > Tools > Web Developer > View Source in Firefox or Tools > View Source in Chrome? There’s nothing JavaScript can do to prevent that.
You are right, I thought about it … but I want to hide the source of the page as much as possible … so I thought about encrypting the source … but it a madness.
i don’t understand what u mean with server-side, i want to hide an index not a page in my web….. thank U.
3 replies have been removed
[deleted user] 10 years ago
| edited 10 years ago
1
Hi rekcah.ronoh, what freewind1012 means with server-side is where you upload the files to. The ftp location in the server-side like if you use php then that can’t be read by someone looking at your source file on the web as php is only saved and implimented from the server-side. Not on your browser and your machine. Okay? I think you might have to use php and not javascript to disable the keyboard and like. Also think about creating a file in assembly and use that.