To protect users' private information, unprivileged scripts cannot invoke the Cut, Copy, and Paste commands in the Mozilla rich text editor, so the corresponding buttons on the Mozilla Rich Text Editing demo page will not work. To enable these functions for purposes of the demo, you must modify your browser preferences.
- Quit Firefox. If you have Quick Launch running (in Windows, an icon in the toolbar), quit that too.
- Find your Firefox profile directory.
- Open the
user.jsfile from that directory in a text editor. If there's no user.js file, create one.
- Add these lines to
- Change the url
https://www.mozilla.orgto the site for which you want to enable this function.
- Save the file, and restart Firefox. The Clipboard buttons should now function.
is not the same as:
This is because the first uses HTTP while the second uses HTTPS.
If you want to allow multiple URLs to access the Paste operation, separate the URLs with a space. For example:
- For more information about security policies, see http://www.mozilla.org/projects/security/components/ConfigPolicy.html.