搜索 | 用户支持

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

详细了解

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: