miércoles, 12 de octubre de 2016

Como Copiar imagenes y texto desde word a Firefox Mozilla editando user.js

Como Copiar imagenes y texto desde word a Firefox Mozilla editando user.js

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

  1. Quit Firefox. If you have Quick Launch running (on Windows, this is an icon in the toolbar), quit that too.
  2. Find your Firefox profile directory.
  3. 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:
    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");
  1. Change the URL https://www.mozilla.org to the site for which you want to enable this function.
  2. 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:
user_pref("capability.policy.allowclipboard.sites", "http://www-archive.mozilla.org")
is not the same as:
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")
Again, keep in mind the security risks involved here and be sure to remove permission to access the clipboard once you no longer need it enabled.

No hay comentarios:

Publicar un comentario