Este site irá ter funcionalidade limitada enquanto fazemos manutenção para melhorar a sua experiência. Se um artigo não resolve o seu problema e quiser colocar uma questão, temos a nossa comunidade de apoio à espera de o ajudar em @FirefoxSupport no Twitter, /r/firefox no Reddit.

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

Clipboard access problems in Firefox 17ESR

  • 2 respostas
  • 2 têm este problema
  • 1 visualização
  • Última resposta por 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 ?

Todas as respostas (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: