Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

how can I add the "allow clipboard" functions to a site in firefox 7?

  • 1 odpowiedź
  • 1 osoba ma ten problem
  • 1 wyświetlenie
  • Ostatnia odpowiedź od cor-el

more options

I've followed the steps from https://developer.mozilla.org/en/Midas/Security_preferences to enable the clipboard functions in Firefox 7. I would like to add the function to the Admin section (Control Panel) of my website. I had to create the user.js file as it did not exist. The following are the contents of my user.js: user_pref("capability.policy.policynames", "allowclipboard"); user_pref("capability.policy.allowclipboard.sites", "http://www.pcxpresstune.com"); user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess"); user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess"); I re-opened Firefox, opened my Control Panel, while editing an article I tried to use the "cut" button, but received the message that clipboard functions are not allowed in Firefox.

I've followed the steps from https://developer.mozilla.org/en/Midas/Security_preferences to enable the clipboard functions in Firefox 7. I would like to add the function to the Admin section (Control Panel) of my website. I had to create the user.js file as it did not exist. The following are the contents of my user.js: user_pref("capability.policy.policynames", "allowclipboard"); user_pref("capability.policy.allowclipboard.sites", "http://www.pcxpresstune.com"); user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess"); user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess"); I re-opened Firefox, opened my Control Panel, while editing an article I tried to use the "cut" button, but received the message that clipboard functions are not allowed in Firefox.

Wszystkie odpowiedzi (1)

more options