View Full Version : Disable mouse events

02-12-2007, 01:27 PM
I've had searches for the this type of script and one best example of it is made on javascript by means it wasn't that too applicable for the web. I've wanna ask if the their are few samples of script written in php for this.

02-12-2007, 03:49 PM
PHP is serverside. It cannot in any way affect the user's computer, except by outputting html/javascript/css/text/etc.

And even with javascript, the methods aren't fully compatible nor secure if someone were to wish to get around them.

02-12-2007, 11:27 PM
Disabling the mouse is easily accomplished by unplugging it.

02-12-2007, 11:36 PM
In fact, the keyboard works the same way.
To completely disable user functionality, the power cord is an all-in-one solution.

02-13-2007, 01:04 AM
I've seen some sites had functionality that are disable the functionality to display the codes to notepad. And I want to know if their have some php scripts/server side script for that.

02-13-2007, 01:13 AM
The answer is no, not with server side. The only thing that can; for a lack of better words, "manipulate" the user's mouse events in a browser window would be by using client-side scripting.

Hope this helps.

02-13-2007, 02:06 AM
We're joking around with you because this isn't possible.
Server side has NOTHING to do with the user, just what is shown to them.
The only way to stop people from saving server side (or at all) is just to not send them the data.
There are ways to make it slightly harder to save the page, but it is impossible to stop people from being able to copy your pages. Just deal with it. That's how it goes. This is the web, and there are reasons it works this way. There's nothing you can do to get around it. Really. I promise.

02-13-2007, 02:08 AM
So it will be on the client side,ayt?Hmm...Is their a script where I could hide the code but doesn't disable any mouse event but disable showing up code on a editor like notepad?

02-13-2007, 02:10 AM
No. Your code can be stolen. And it will be if someone wants to steal it. Really. I promise.

You send the code to the visitor to display they site. They HAVE it. Everyone who has been to your site and not since cleared their cache, has a copy of your site on their harddrive.

02-13-2007, 02:12 AM
As djr33 just stated, there is no way to hide things from web users. The only thing that you could do (if you didn't want people "stealing" your stuff from your website) would be to copyright it. Sorry

EDIT: Sorry dj, posted same time.

02-13-2007, 02:54 AM
so how could you view does code if ever time you visited the site it logs to your cache?

02-13-2007, 04:55 AM
Disabling the mouse is easily accomplished by unplugging it.

02-13-2007, 01:49 PM
your just spamming around

02-13-2007, 02:49 PM
we should put "if its on the internet, it can be stolen no matter what you do." into the terms of service on DD...

02-14-2007, 01:55 AM
... or mabye in the default phrases list...

02-14-2007, 02:38 AM
Warning: The internet is a public medium, your content can only be protected by copyright law.

02-14-2007, 02:43 AM
That'll work. I might want to add that to my "Phrase Center".

02-15-2007, 05:00 AM
Is some one had those script?please let me know.

02-15-2007, 05:35 AM
No. That's what we're trying to say....

02-15-2007, 05:58 AM
lol, be straight..ok hmmm