Disabling menubar

Announce and Discuss the Latest Theme and Extension Releases.
Post Reply
Daniel_Orner
Posts: 118
Joined: May 26th, 2005, 11:06 am

Disabling menubar

Post by Daniel_Orner »

Is there a way to disable the menubar via extension? I'm using an extension to do a user study (monitoring user actions etc.) and I don't want the user to accidentally open a page or some such. I've tried setting the toolbar to "disabled=true", tried catching click events and calling preventDefault() (it executed, but the action still happened)... any ideas?

Thanks for any help you can give.
Zoolcar9
Posts: 2225
Joined: November 9th, 2004, 6:45 pm
Location: Jakarta, Indonesia (UTC+7)
Contact:

Post by Zoolcar9 »


You must disable the menus in menubar (File, Edit, View, etc), not the menubar itself.

My Firefox information | Add-ons | GitHub

"With great power, comes great desire to show it off."
Daniel_Orner
Posts: 118
Joined: May 26th, 2005, 11:06 am

Post by Daniel_Orner »

That works. Thanks!
Post Reply