如何用Firefox 的Cut/Copy/Paste功能?

来源: 心镜 2012-03-15 09:07:58 [] [博客] [旧帖] [给我悄悄话] 本文已被阅读: 次 (24291 bytes)

 

近一月来用Firefox 的贴文字不行, 总出现一个warning:

Unprivileged scripts cannot access Cut/Copy/Paste programatically for security reasons.  Click OK to see a technical note at mozilla.org which shows you how to allow a script to access the clipboard。

我按照Firefox Security preferences:

https://developer.mozilla.org/en/Midas/Security_preferences 

 

  1. Quit Firefox. If you have Quick Launch running (in Windows, an icon in the toolbar), quit that too.
  2. Find your Firefox profile directory.
  3. Open the user.js file from that directory in a text editor. If there's no user.js file, create one.
  4. Add these lines to user.js:

 user_pref("capability.policy.policynames", "allowclipboard");

user_pref("capability.policy.allowclipboard.sites", "http://www.mozilla.org");

user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");

user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");

 * Change the url "http://www.mozilla.org" to the site for which you want to enable this function.

我应该用:http://blog.wenxuecity.com/dashboard/blogadd.php 吗?

试了上面的链接, 不行, 请给些指点, 如何恢复Cut/Copy/Paste功能

多谢!<-->

所有跟帖: 

建议用IE -论坛管理- 给 论坛管理 发送悄悄话 (0 bytes) () 03/15/2012 postreply 09:53:39

请您先登陆,再发跟帖!

发现Adblock插件

如要继续浏览
请支持本站 请务必在本站关闭Adblock

关闭Adblock后 请点击

请参考如何关闭Adblock

安装Adblock plus用户请点击浏览器图标
选择“Disable on www.wenxuecity.com”

安装Adblock用户请点击图标
选择“don't run on pages on this domain”