From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Description of problem: Cut and Paste seems to be disabled. I get a message directing me to: http://mozilla.org/editor/midasdemo/securityprefs.html Following the instructions on this page does not solve problem for me. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Log in using Netscape 2. Create item. 3. Edit Body Text. 4. Attempt to paste text into editor. Actual Results: [JavaScript Aplication] Pop-up Message appears: ? "Unprivileged scripts cannot access Cut/Copy/Paste programatically for security reasons. Click OK to see a technical note at mozilla.org which shows how to allow a script to access the clipboard." OK | Cancel Expected Results: Text pastes normally as it does using InternetExplorer 6.0 Additional info: Tried created the user.js file but problem remains
I've reproduced this with Mozilla 1.4 & tried various options to enable cut & paste, to no avail.
Actually, this instructions in securityprefs.html are mostly right, but there are a couple of issues, at least with netscape 7.1 on Windows 2000: 1) user.js should go in the following directory: "C:\Documents and Settings\user_name\Application Data\Mozilla\Profiles\profilename\xxxxxxxx.slt" (user_name is the logged-in user name, xxxx is a random string -- this directory will already exist) Note that application data is actually a hidden folder, so you may have to type it in explicitly to find the folder. On my windows machine, the actual path to user.js is: "C:\Documents and Settings\Administrator\Application Data\Mozilla\Profiles\default\qapgsabh.slt\user.js" 2) the 4 user_pref lines can be pasted in mostly as-is, but of course you need to change "www.mozilla.org" in the following line to the particular site that you're trying to access: user_pref ("capability.policy.allowclipboard.sites", "http://www.mozilla.org"); If you want to allow cut and paste on all sites, you can just add the following two lines (instead of the four lines suggested): user_pref("capability.policy.default.Clipboard.cutcopy", "allAccess"); user_pref("capability.policy.default.Clipboard.paste", "allAccess"); If you want to make a global change to allow cut and paste for all sites (and all users on the machine), you can edit the following two lines in "C:\Program Files\Netscape\Netscape\defaults\pref\all.js": pref("capability.policy.default.Clipboard.cutcopy", "noAccess"); pref("capability.policy.default.Clipboard.paste", "noAccess"); from noAccess to allAccess.
Thanks Scott, I used your global change information. Now works for me using netscape 7.1 on Windows 2000. Passed retest at Camden.