I know this is not the right list for this, and I don't really expect anyone to know this, but you never know... I am trying to build a semi-secure version of mozilla for use in a kiosk. I have the SuSE 0.9.8 source and I want to disable the right mouse button completely. In the /BUILD/mozilla/embedding/browser/photon/src/PtMozilla.cpp file, I found a header reference called nsIDOMMouseEvent.h, but I can't find it anywhere in the source tree. Does anyone know where this file is or where I should look for right mouse button methods? Mozilla is a beast. Best Regards, Keith -- LPIC-2, MSCE, N+ you may say I'm a dreamer, but I'm not the only one Got spam? Get SPASTIC http://spastic.sourceforge.net
On Mon, Mar 25, 2002 at 05:38:00PM -0500, Keith Winston wrote:
I am trying to build a semi-secure version of mozilla for use in a kiosk. I have the SuSE 0.9.8 source and I want to disable the right mouse button completely.
No source changes required (thank god). It can be disabled in the content area by creating a userChrome.css file with this entry: #contentAreaContextMenu{ display: none; } I found out there are lots of things you can change/disable using the userChrome.css file. A good thing, too, because the mozilla source is just scary big. Best Regards, Keith -- LPIC-2, MSCE, N+ you may say I'm a dreamer, but I'm not the only one Got spam? Get SPASTIC http://spastic.sourceforge.net
participants (1)
-
Keith Winston