Force enable right-click (context menu) on JavaScripted page
- dotcomian
- Posts: 98
- Joined: July 13th, 2003, 9:21 pm
Force enable right-click (context menu) on JavaScripted page
Fellas,
I don't know if someone brought up the issue or not...
Is there anyway that one can block javascript function that restricts right-click on some pages? It's satisfying to see that the builtin 'DOM' preference allow us to disable certain js functionailty like window resizing, status bar hiding, etc, but not on context menu restriction...
I don't know if someone brought up the issue or not...
Is there anyway that one can block javascript function that restricts right-click on some pages? It's satisfying to see that the builtin 'DOM' preference allow us to disable certain js functionailty like window resizing, status bar hiding, etc, but not on context menu restriction...
- shadytrees
- Moderator
- Posts: 11743
- Joined: November 30th, 2002, 6:41 am
- Spewey
- Folder@Home
- Posts: 5799
- Joined: January 25th, 2003, 2:06 pm
- Location: St. Paul, Minnes°ta
I used to have a bookmarklet called "Zap Clicks" that sort of worked on this sometimes.
http://forums.mozillazine.org/viewtopic.php?t=7534
More Zap:
http://www.squarefree.com/bookmarklets/zap.html
http://forums.mozillazine.org/viewtopic.php?t=7534
More Zap:
http://www.squarefree.com/bookmarklets/zap.html
-
- Posts: 109
- Joined: January 18th, 2003, 3:02 am
- dotcomian
- Posts: 98
- Joined: July 13th, 2003, 9:21 pm
robzilla wrote:If you're using TBE, you can right-click on a tab, choose Permissions and uncheck Allow Javascript. This doesn't disable it permanently, though.
I've also found that on a lot of pages, FB context menu seems to work despite the right-click warning dialog that pops up.
Rob
Thanks for the responses.
I found that TBE allows saving status and permissions on pages, see if it worked out.
Rob, could you please elaborate on how one can still get the context menu?
- shadytrees
- Moderator
- Posts: 11743
- Joined: November 30th, 2002, 6:41 am
-
- Posts: 1634
- Joined: November 4th, 2002, 8:34 pm
- Location: Kyoto, Nippon (GMT +9)
- Contact:
http://www.mozilla.org/projects/securit ... olicy.html is about blocking js functions.
-
- Posts: 387
- Joined: November 19th, 2002, 8:56 pm
Yes, but it can't block disabling the context menu. My previous post on this is http://forums.mozillazine.org/viewtopic ... 119#115119
-
- Posts: 109
- Joined: January 18th, 2003, 3:02 am
Rob, could you please elaborate on how one can still get the context menu?
I think hao2lians response is correct. I was just saying that I seem to run across a lot of pages that have the "right-click restriction" javascript implemented incorrectly. So, even though you see the warning, it doesn't actually block you from using the context menu. I don't know anything about javascript, but it appears a lot of webmasters don't either.
Rob
- dotcomian
- Posts: 98
- Joined: July 13th, 2003, 9:21 pm
Thanks for the responses.
I've been trying all the possible method, and I came to a conclusion that the easiest solution is just to disable javascript; however there are sites that requires js to function properly, thus one cannot make the sacrifices. My best solution for me is to use TBE's Permission as suggested above, if one make the option correctly, permissions should be saved, and reused on each unique site. This is neat.
So, if the issue really is a bug, I hope someone can initiate the fix, and make more FB users happier.
I've been trying all the possible method, and I came to a conclusion that the easiest solution is just to disable javascript; however there are sites that requires js to function properly, thus one cannot make the sacrifices. My best solution for me is to use TBE's Permission as suggested above, if one make the option correctly, permissions should be saved, and reused on each unique site. This is neat.
So, if the issue really is a bug, I hope someone can initiate the fix, and make more FB users happier.
-
- Posts: 398
- Joined: November 4th, 2002, 7:00 pm
- Location: Mountain View, CA
- Contact:
I just added a <a href="http://www.squarefree.com/bookmarklets/zap.html#restore_context_menu">"restore context menu" bookmarklet</a> to my <a href="http://www.squarefree.com/bookmarklets/zap.html">Zap Bookmarklets</a> page. dotcomian, I hope you re-enable JavaScript!
I write The Burning Edge and Indistinguishable from Jesse.
- dotcomian
- Posts: 98
- Joined: July 13th, 2003, 9:21 pm
Jesse wrote:I just added a <a href="http://www.squarefree.com/bookmarklets/zap.html#restore_context_menu">"restore context menu" bookmarklet</a> to my <a href="http://www.squarefree.com/bookmarklets/zap.html">Zap Bookmarklets</a> page. dotcomian, I hope you re-enable JavaScript!
Thanks Jesse, that's neat! another collection that goes to my bookmarks.
-
- Posts: 475
- Joined: November 5th, 2002, 8:22 am
- Location: Earth
Re: Force enable right-click (context menu) on JavaScripted
dotcomian wrote:Is there anyway that one can block javascript function that restricts right-click on some pages? It's satisfying to see that the builtin 'DOM' preference allow us to disable certain js functionailty like window resizing, status bar hiding, etc, but not on context menu restriction...
You want Bug 86193. Please vote for it if you want that functionality, but avoid commenting unless you can provide code.
Ad astra