
火狐浏览器没有右键菜单
If you’ve spent any amount of time online, you’ve already run into a website that uses javascript to disable the right-click menu on the page… which can be really, really irritating for those of us that like to use the “back” feature on the context menu.
如果您花了很多时间上网,那么您已经遇到了一个网站,该网站使用javascript禁用了页面上的右键菜单...这对于那些喜欢使用“返回”菜单上的“返回”功能。
Why do they do this? Usually it’s a misguided attempt to keep people from viewing the source of their pages or stealing their images, but all they really do is end up annoying their readers into never coming back. Ever.
他们为什么这样做呢? 通常,这是一种误导性的尝试,它使人们无法查看其页面源或窃取其图像,但是他们真正要做的只是最终使他们的读者烦恼,使他们永不回头。 曾经
Hint: it doesn’t really stop anybody from stealing. It’s the tech equivalent of searching 85-year old grandmothers on airplanes for knitting needles. If you do it on your pages, stop it now.
提示:并不能真正阻止任何人偷窃。 这相当于在飞机上搜寻85岁的祖母编织针的技术。 如果在页面上执行此操作,请立即停止。
Disabling Annoying Context Menu Javascript Nonsense
禁用烦人的上下文菜单Javascript废话
Open up the Tools \ Options panel, and then go to the Content “tab” on the top. You’ll see three buttons on the right-hand side, choose the one that says “Advanced”.
打开“工具\选项”面板,然后转到顶部的“内容”选项卡。 您会在右侧看到三个按钮,选择一个显示“高级”的按钮。

From this dialog you can uncheck the option for “Disable or replace context menus”. Note: If you also want to prevent websites from resizing your browser window, you can uncheck “Move or resize existing windows” while you are at it.
在此对话框中,您可以取消选中“禁用或替换上下文菜单”的选项。 注意:如果您还想阻止网站调整浏览器窗口的大小,则可以取消选中“移动或调整现有窗口的大小”。

And now your context menu will work perfectly fine on the page.
现在,您的上下文菜单将在页面上正常运行。

It should be noted that disabling this setting will prevent customized context menus from working on sites like Google Docs… so it’s a toss-up on which feature you like more.
应该注意的是,禁用此设置将阻止自定义上下文菜单在Google Docs等网站上运行……因此,您可以根据自己的喜好选择更多的功能。
火狐浏览器没有右键菜单