﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-hbcui1984-文章分类-linux</title><link>http://www.blogjava.net/hbcui1984/category/15354.html</link><description /><language>zh-cn</language><lastBuildDate>Fri, 02 Mar 2007 03:33:08 GMT</lastBuildDate><pubDate>Fri, 02 Mar 2007 03:33:08 GMT</pubDate><ttl>60</ttl><item><title>关于firefox的copy/paste的问题</title><link>http://www.blogjava.net/hbcui1984/articles/70449.html</link><dc:creator>扬州梦</dc:creator><author>扬州梦</author><pubDate>Tue, 19 Sep 2006 02:35:00 GMT</pubDate><guid>http://www.blogjava.net/hbcui1984/articles/70449.html</guid><wfw:comment>http://www.blogjava.net/hbcui1984/comments/70449.html</wfw:comment><comments>http://www.blogjava.net/hbcui1984/articles/70449.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/hbcui1984/comments/commentRss/70449.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/hbcui1984/services/trackbacks/70449.html</trackback:ping><description><![CDATA[
		<div align="center">关于firefox的copy/paste的问题<br /></div>
		<br />firefox为了保护用户安全，在有的文本 编辑器（如Iframe）中禁止copy/paste操作，firefox会将你引导到<br />http://www.mozilla.org/editor/midasdemo/securityprefs.html<br /><br />我在blogbus上就碰到了这个问题，写下我的解决方法：<br />我用的是linux操作系统，<br />1.先找到firefox的安装目录：<font color="#ff0000">/root/.mozilla/firefox/***.default/</font><br />2.在该目录下查找user.js，如果没有，则自己新建一个user.js<br />3.在user.js中添加：<br />user_pref("capability.policy.policynames", "allowclipboard");<br /><font color="#ff0000">user_pref("capability.policy.allowclipboard.sites", "http://www.blogbus.com");</font><br />user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");<br />user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");<br /><br />ok，重启firefox就可以随意复制粘贴了<br /><br /><img src ="http://www.blogjava.net/hbcui1984/aggbug/70449.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/hbcui1984/" target="_blank">扬州梦</a> 2006-09-19 10:35 <a href="http://www.blogjava.net/hbcui1984/articles/70449.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>