Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Dette websted vil have begrænset funktionalitet, mens vi gennemgår vedligeholdelse for at forbedre din oplevelse. Hvis en artikel ikke løser dit problem, og du vil stille et spørgsmål, har vi vores supportfællesskab, der venter på at hjælpe dig på @FirefoxSupport på Twitter og/r/firefox på Reddit.

Søg i Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Læs mere

Clipboard access problems in Firefox 17ESR

  • 2 svar
  • 2 har dette problem
  • 1 visning
  • Seneste svar af cor-el

more options

I just installed Firefox 17 ESR. Before I was on 18 (latest). I noticed that the hack I put in my profile prefs.js and user.js to allow clipboard paste,cut and copy operations no longer works. I tried clipboard helper add-on it is not working either. So, I created a new profile, put the following text in user.js and prefs.js

user_pref("capability.policy.policynames", "allowclipboard"); user_pref("capability.policy.allowclipboard.sites", "http://mydomain"); user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");

anything changed/different in 17ESR and Firefox 18 ?

I just installed Firefox 17 ESR. Before I was on 18 (latest). I noticed that the hack I put in my profile prefs.js and user.js to allow clipboard paste,cut and copy operations no longer works. I tried clipboard helper add-on it is not working either. So, I created a new profile, put the following text in user.js and prefs.js user_pref("capability.policy.policynames", "allowclipboard"); user_pref("capability.policy.allowclipboard.sites", "http://mydomain"); user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess"); anything changed/different in 17ESR and Firefox 18 ?

Alle svar (2)

more options

Hmmm, even if you are permitting clipboard access through the capability mechanism, starting in Firefox 17, sites can no longer use the old privilege elevation request system. I believe they need to upgrade the scripts (by signing them with a digital signature) in order to manipulate the clipboard.

Is this critical for your application? In other words, can you get by with the standard Windows methods for cut/copy/paste:

Ctrl+x / Ctrl+c / Ctrl+v
right-click menu
Edit menu

more options

See also my reply here: