# Hjälp önskas ang. Firefox.
Author: Diana61

Hej på er alla.

Jag kör Vista Home Premium (Englesk) och har en del problem som ni redan vet med .png bilder som ej syns. Så jag kör FireFox istället, men när man skall göra Copy And Paste i FireFox så funkar det ej utan man får upp ett meddelande som gäger vad man skall göra för att aktivera det. Men informationen är skriven för XP användare så jag kan ej finna filen user.js ![Fundersam](../tiny_mce/plugins/emotions/images/smiley-undecided.gif)

Jag har visa dolda filer påslaget då jag vill ha full koll på vad som finns och händer i maskinen, men denna fil finns ej? Någon som vet hur jag löser detta ?

Setting Prefs for the Mozilla Rich Text Editing Demo
====================================================

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.

For Firefox:

1.  Quit Firefox. If you have Quick Launch running (in Windows, an icon in the toolbar), quit that too.
2.  Find your Firefox profile directory. On Windows, this is often located in

C:\\Documents and Settings\\<Windows login>\\Application Data\\Mozilla\\Firefox\\Profiles\\<one folder>.  
(See also [editing configuration files](http://www.mozilla.org/support/firefox/edit "Firefox Help: Editing Configuration Files") for more info on locating your profile folder.)

1.  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:
*   5\. user\_pref("capability.policy.policynames", "allowclipboard");
*   6\. user\_pref("capability.policy.allowclipboard.sites", "http://www.mozilla.org");
*   7\. user\_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");

user\_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");

\*Change the url "http://www.mozilla.org" to where you want to enable this function.

1.  Save the file, and restart Firefox. The Clipboard buttons should now function.

Note: The preference is site as well as protocol specific. For example

user\_pref("capability.policy.allowclipboard.sites", "http://www.mozilla.org")

is not the same as

user\_pref("capability.policy.allowclipboard.sites", "https://www.mozilla.org")

(the first is http and the second is https)

If you want to allow multiple urls to access the Paste operation, separate the urls with a space. For example:

user\_pref("capability.policy.allowclipboard.sites",

 "http://www.mozilla.org https://www.mozilla.org")

For more information about security policies, see [http://www.mozilla.org/projects/security/components/ConfigPolicy.html](http://www.mozilla.org/projects/security/components/ConfigPolicy.html).

## Comment 1
Author: mans

Jag vill minnas att man slipper meddelandet om man klistrar in genom att trycka CTRL-V istället för att välja "klistra in" från en meny.

## Comment 2
Author: amator_feles

Byt till en Mac! Dom krånglar aldrig.

## Comment 3
Author: Petersen

Markera det du vill kopiera, tryck CTRL+C och gå sen till platsen du vill klistra in det och tryck CTRL+V. Så fungerar det :)
