Technote Details :: The Copy, Cut and Paste buttons do not work in Mozilla
Issue
When trying to use the Copy, Cut or Paste function in KTML - through the toolbar buttons or the contextual menu, I get an error message saying that unprivileged scripts cannot invoke these commands:

Reason
This happens because Mozilla does not allow scripts to invoke these commands in order to protect user private information. More details on this matter can be found in this technical note.
Solution
You can still use Copy, Cut and Paste by using the following key combinations:
- CTRL + C - for Copy
- CTRL + X - for cut
- CTRL + V - for paste
Alternatively you can modify Mozilla's settings to allow this functionality:
- Using a file explorer navigate to where your Mozilla profile is located. See this technical note on locating the profile files.
- Open the user.js file, or, if none exists create it.
- Add these lines:
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");
- Restart Mozilla for the changes to take effect.