FAQ: How can I get Windows Netscape (or other Mozilla-based browser) to let me paste text into the Saga content management system?

If you are using a Microsoft Windows version of Netscape, Mozilla or some other Mozilla-based browser and you receve an error message like the following when attempting to paste text using shortcut keys (ie, CTRL+V) into the Saga content management system:

Unprivileged scripts cannot access Cut/Copy/Paste
programmatically for security reasons.

You can fix your browser to allow pasting by following these steps. Note: you should not experience this error when pasting using the Edit > Paste menu in your browser—the error only occurs when using shortcut key commands (ie, CTRL+V).

  1. The browser must be completely closed. You are probably viewing this FAQ using your browser, so you might want to open this FAQ in a different browser (eg, Internet Explorer), or print this FAQ out first, and highlight and copy the code in step 4 before you quit your browser. To quit your browser: close all windows, including any email windows; and, if available, right-click the browser quick launch icon in the right side of the Windows taskbar and choose exit from menu.
  2. Make sure you have set Windows to "Display the contents of system folders" and to "Show hidden files and folders" under the Tools > Folder Options > View menu in any window/windows explorer. Click "Apply to All Folders" before you close Folder Options.
  3. Find your Mozilla profile directory. On Windows XP it will be located somewhere like:
    C:/Documents and Settings/[your username]/
    Application Data/Mozilla/Profiles/
    [your username]/[some characters].slt/
  4. Look for a "user.js" javascript file and choose "edit" from the menu to open the file in a text editor. If the file does not exist in your profile, open a text editor (eg, Notepad) and create the file in the appropriate profile directory you found in Step 2 above.
  5. Copy and paste the lines below into the file.
    user_pref("capability.policy.policynames", "allowclipboard");
    user_pref("capability.policy.allowclipboard.sites", "https://stage.www.pdx.edu");
    user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
    user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");
  6. Save and close user.js.
  7. Restart your browser and attempt to paste into a Saga content item. If you continue to get the same error, you may have made an error pasting in the new preferences or you may have edited/created a user.js file in a different user profile directory (ie, not the profile you are using).

If you have further troubles, contact the Portland State webmaster.