Skip to content
 
 

Latest commit

 

History

27 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open in Browser

Open in Browser is a Firefox extension that allows you to open documents directly in the browser.

Installation

You can install the extension from its addons.mozilla.org page.

Screenshots

Opening Dialog View as Menu

Configuration

You can add additional mime types to the list by creating a pref named extensions.openinbrowser.additional_mimes in about:config with the list of additional types separated by a |. For instance, application/pdf|audio/ogg-vorbis.

Limitations and Issues

  • It does not work for protocols other that HTTP because of a technical limitation. It is only possible to view the content as source in this case.
  • Automatic opening in browser is not implemented, that's why the "Do this automatically for files like this..." checkbox is greyed out when open in browser is selected.
  • Some users have reported compatibility issues with the "Tab Mix Plus" add-on.

Building the extension

You need a Unix shell with make and zip in your PATH. Cygwin works well on Windows.

Go in the root of the sources and run:

make xpi

This will generate a openinbrowser-VERSION.xpi archive in the parent directory.

Testing

A few manual tests are available in the tests directory.

For the HTTP protocol tests, you should serve the tests directory with a Web server that interprets PHP scripts. Then you can open the tests/tests.html file (for instance, http://localhost/openinbrowser/tests/tests.html) and follow the instructions.

For the file protocol test, open the tests/tests.html file from the file system (for instance. file:///C:/openinbrowser/tests/tests.html) and follow the instructions.

About

Open in Browser Firefox add-on

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages