Encountered this bug today trying to get a plaintext format (with the
mime type `application/<something>`) to display as plaintext in the
browser rather than Open With > Firefox (and opening a new window.)

Is there still no workaround for enabling this type of functionality,
even by modifying config files in the profile? I tried messing around
with `handlers.json` (the file that holds the mime type preferences set
in `about:preferences` under the "Files and Applications" header) but
had no luck.

Some content types in `about:preferences` permit users to select "Open
in Firefox" while others don't. Where is the safelist of permitted
content types for this behavior? Could a simple solution to this bug be
to add an `about:config` flag that would allow power users to select
"Open in Firefox" for any content type?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/25830

Title:
  Option to display file in browser, treat as text/plain

Status in Mozilla Firefox:
  Confirmed
Status in firefox package in Ubuntu:
  Triaged

Bug description:
  A suggestion:

  When you click certain files, like .py or .pl files, for example, Firefox 
brings
  up a dialog that offers you the ability to:
  1. Open with a certain application
  2. Save to disk
  What would be nice is a third option:
  3. Treat as text/plain

  The wording could be altered... "Display as text in browser" or
  something.

  Sometimes you just want to quickly visit a file on the web and look for
  something in it, and the fact that you *could* open it in a more customized
  application is true but not really easier for you at that moment. If you just
  want to look a Python script for a version number at the top it is not 
necessary
  to open it in your IDE or save it to disk; you just want to open it in the
  normal viewing window as plain text and quickly find what you need to look at.

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/25830/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to