Mozilla Issues  
 

>>   HEC Home Page >>  Administration Home Page >>  >>Mozilla Issues

Setting Prefs for the
Mozilla Rich Text Editing

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.

  1. Quit Mozilla. If you have Quick Launch running (in Windows, an icon in the toolbar), quit that too.
  2. Find your Mozilla profile directory. On Windows, this is often located in c://WINNT/Profiles/<your Windows login>/Application Data/Mozilla. (See also editing configuration files for more info on locating your profile folder.)
  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");
  5. Save the file, and restart Mozilla. The Clipboard buttons should now function.


[HEC Home Page]   [Executive Council]   [HEC Advisory Committee]   [Bookstore]   [Donations]   [Membership Applications]   [Other Categories]   [Administration Home Page]   [Voting Ballot]   [Addressing Legal Requirements]   [Logon to HEC]   [Open CMS Login]   [Calendar Capture]   [Email Form]   [Mozilla Issues]   [Training]   [Disabled please click here]   [Accomplishments]   [BUDGETS]   [Interviews]   [Send email to a list]   [locatre Person by IP Address]