SE debe editar o crear el archivo user.js
En ejecutar (Tecla Windows +R) digitar:
%APPDATA%\Mozilla\Firefox\Profiles\
Crear el archjivo user.js o editarlo si existe
copiar la siguientes lineas:
user_pref("capability.policy.policynames", "allowclipboard");
user_pref("capability.policy.allowclipboard.sites", "https://blogger.com https://www.blogger.com https://gmail.com");
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");
LA 2a línea tiene los sitios que se dejan copiar y pegar desde el clipboard
Para mayor información:
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Midas/Security_preferences
Changing the preferences in FirefoxEdit
- Quit Firefox. If you have Quick Launch running (on Windows, this is an icon in the toolbar), quit that too.
- Find your Firefox profile directory.
- Open the
user.js
file from that directory in a text editor. If there's nouser.js
file, create one. - Add these lines to
user.js
:user_pref("capability.policy.policynames", "allowclipboard"); user_pref("capability.policy.allowclipboard.sites", "https://www-archive.mozilla.org"); user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess"); user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");
- Change the URL to the site for which you want to enable this function.
- Save the file and restart Firefox. The Clipboard buttons in the demo, or similar buttons on the sites you listed, should now function.
Note: The preference is site as well as protocol specific. For example:
is not the same as:user_pref("capability.policy.allowclipboard.sites", "http://www-archive.mozilla.org")
user_pref("capability.policy.allowclipboard.sites", "https://www-archive.mozilla.org")
This is because the first uses HTTP while the second uses 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", "https://www-archive.mozilla.org https://developer.mozilla.org")
No hay comentarios:
Publicar un comentario