Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

user.js fil ein 32.03 does not effect prefernces

  • 6 个回答
  • 4 人有此问题
  • 16 次查看
  • 最后回复者为 cor-el

more options

User has FF 32.03- trying to edit user.js file to allow for javascript copy and paste

user_pref("capability.policy.policynames", "allowclipboard"); user_pref("capability.policy.allowclipboard.sites", "https://www.hccfl.blackboard.com"); user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess"); user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");


But while the prefs.js absorbs the changes it still does not correct the problem. Even though in 32.02 it does?

User has FF 32.03- trying to edit user.js file to allow for javascript copy and paste user_pref("capability.policy.policynames", "allowclipboard"); user_pref("capability.policy.allowclipboard.sites", "https://www.hccfl.blackboard.com"); user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess"); user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess"); But while the prefs.js absorbs the changes it still does not correct the problem. Even though in 32.02 it does?

所有回复 (6)

more options

The "capability.policy" feature was removed in Firefox 29, so I'm surprised to hear it was working in Firefox 32.0.2. ??

There is a plan to implement a new clipboard permission, but I don't see any progress on it here: Bug #1012662 – implement click-to-copy and click-to-cut permissions (semi-trusted events).

Just a note about the bug tracking system: it's generally not helpful to add comments like "hurry up" to bugs, but you can register on the Bugzilla site and "vote" for them to be fixed. See:


Meanwhile, in most cases your user will find that you don't need a website's copy/paste buttons, but instead she or he can use one of these methods:

  • To copy, select text, then either:
    • right-click it > Copy
    • Ctrl+c keyboard shortcut
  • To paste, click to position the cursor, then either:
    • right-click > Paste
    • Ctrl+v keyboard shortcut

These two methods work thoughout most of Windows, and if one doesn't work the other usually does.

I understand this is not a complete replacement, since the site probably cannot intercept this kind of paste and clean out bad formatting tags (which presumably is one of the benefits of letting the site access the clipboard). But at the moment, it's all I've got.

more options

If ctrl-v and ctrl-p, or right clicking worked I wouldn't be here.

This code fixes it in 32.02 but not 32.03

Is there any way to modify these preferences?

more options

My guess is that something else has changed that is unrelated to those preferences because as far as I know, the "allowclipboard" permission has been out of the code base since Firefox 29.

more options

I think the allowclipboard permission may have been deprecated but not removed until 32.03. This would make logical sense as there is no difference in the two versions of FF except this issue.

Wonderful

more options

RightToClick {web link} Stops javascript annoyances such as forbidden right click, forbidden text selection or cascading dialog boxes.

more options