Deathamns / Viewhance

Enhancements for the browser's default media viewer
https://deathamns.github.io/Viewhance/
Other
99 stars 23 forks source link

Viewhance

A browser extension to enhance the browser's default media viewer.

To try it out (when installed), open a media file (image / video / audio) in a new tab.

Install / Changelog / FAQ

Browser/platform support

The following platforms are supported (for each the latest browser version):

Build

./build.py [platform(s)] [-meta] [-min] [-pack] [-all] [-version=x.x.x]

All arguments are optional. The output and temporary files go into the build directory.
Without arguments the script will generate the necessary files for each non-disabled platform.
Additional information for specific platforms can be found in their directories.

platf1 platf2... list of platforms (directory names under platform/) if building for all platforms is not desired
-meta generates only meta-data (localization, manifest files)
-pack creates installable/distributable packages (with -meta it will also generate meta files for updating)
-min compress source files (JS, HTML, CSS) (Java is required)
-all build disabled platforms as well (if it's not listed as a platform already)
-version=x.x.x custom version string, current date-time (YYYY.MMDD.HHII) if not set

Examples:

# Prepare directories for non-disabled platforms
./build.py

# Prepare directories for Firefox (XUL) and Opera (Presto)
./build.py xpi oex

# Prepare directories and package them for every platform (including disabled)
./build.py -pack -all

# Prepare, minify, and package for Chromium
./build.py crx -min -pack

# Generate meta-data for Maxthon and Safari
./build.py -meta mxaddon safariextz

Contribution