Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Clipboard access problems in Firefox 17ESR

  • 2 отговора
  • 2 имат този проблем
  • 1 изглед
  • Последен отговор от 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 ?

Всички отговори (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: