為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

allow copy and paste from word to my school program

  • 12 回覆
  • 6 有這個問題
  • 3 次檢視
  • 最近回覆由 cor-el

more options

When I create a word document and attempt to copy and paste it into my college discussion board, it states that Mozilla does not allow me to do so and to contact firefox to release the restrictions.

When I create a word document and attempt to copy and paste it into my college discussion board, it states that Mozilla does not allow me to do so and to contact firefox to release the restrictions.

被選擇的解決方法

所有回覆 (12)

more options

選擇的解決方法

maybe updating firefox may help?

more options

I have this problem too. I created a word document and attempt to copy and paste it into Todo Institute blog discussion board, it states that Mozilla does not allow me to do so and to contact Firefox to release the restrictions. I've reset Firefox several times, problem remains. How to fix this? Any helps is appreciated.

由 tmccoy 於 修改

more options

Do you get this error using a paste button in the site's editor? Firefox limits access to the clipboard for privacy reasons (because if scripts can read the clipboard when you click a button, what's going to stop them from doing it any time they like?).

Do any of the standard methods for pasting work on the site:

  • Ctrl+v (or on Mac: Command+v)
  • right-click > Paste
  • Edit menu > Paste
more options
more options

Thank You. The direction is too complicated for me to follow. Also others have reported that downloading the add-on caused Firefox to crash.

more options

Sorry. I tried your suggestion - didn't work. :-(

more options

I have Windows XP. I downloaded FF for Windows XP. Overall the system works BUT the problem with Mozilla-Firefox copy/cut/past remains unresolved.

more options

Did you try to use the keyboard instead?

Use keyboard shortcuts if the buttons on the web page or other methods aren't working.

  • Copy: Ctrl+C or Ctrl+Insert (Mac: Command + C)
  • Paste: Ctrl+V or Shift+Insert (Mac: Command + V)
  • Cut: Ctrl+X or Shift+Delete (Mac: Command + X)
more options

Yes, using keyboard shortcuts for copy/cut/paste worked. Thank You. But why can't FF do it automatically like it used to do? How can this function be restored in FF? Appreciate a response and direction to restore this function. :-)

more options

You can try to create a user.js file and add the lines to set the capability.policy prefs to it.

Enter the URL of the site to the capability.policy.allowclipboard.sites pref, separate multiple sites with a space character.

  • user_pref("capability.policy.policynames", "allowclipboard");
  • user_pref("capability.policy.allowclipboard.sites", "http://");
  • user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
  • user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");

You can test with this code in the Browser (Firefox/Tools > Web Developer;Ctrl+Shift+J) if it will work

var {classes:Cc,interfaces:Ci} = Components;
var PS = Cc["@mozilla.org/embedcomp/prompt-service;1"].getService(Ci.nsIPromptService);
var PB = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefService).getBranch("capability.policy.");
var obj = new Object, txt = "Granting Clipboard Access"; 
try{obj.value = PB.getCharPref("allowclipboard.sites");} catch(e){obj.value = "";}
if (PS.prompt(null,txt,"Enter website(s) to allow access to the clipboard\nUse a Space character as separator",obj,null,{})){
PB.setCharPref("policynames", "allowclipboard");
PB.setCharPref("allowclipboard.Clipboard.cutcopy", "allAccess");
PB.setCharPref("allowclipboard.Clipboard.paste", "allAccess");
PB.setCharPref("allowclipboard.sites", obj.value);
}

由 cor-el 於 修改

more options

Hi cor-el. Appreciate the instructions. Unfortunately, I'm not computer literate enough to attempt corrections in the software. Also, other comments about similar problems indicates that this method does not really work. So, I don't want to risk messing up my computer and be tied up with FF problems indefinitely. Sorry. But thank you for helping me. :-)

more options

All you would have to do is to create a user.js file in the Firefox profile folder and paste the above posted lines in this file and complete the site URL to the domain (address) of your school website.

user_pref("capability.policy.policynames", "allowclipboard");
user_pref("capability.policy.allowclipboard.sites", "http://< append site url >");
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess"); 

See also:


You can use this button to go to the Firefox profile folder:

  • Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)

Be sure to use a plain text editor (e.g. Notepad on Windows platform) and choose to display all files when saving this user.js file (Save as...).
If text files is selected then Windows will add a hidden .txt file extension and you get a user.js.txt file that won't work.