Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

user.js fil ein 32.03 does not effect prefernces

  • 6 antwurd
  • 4 hawwe dit probleem
  • 16 werjeftes
  • Lêste antwurd fan 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?

Alle antwurden (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