Skip to content

refractify/myopic_defocus

Repository files navigation

Myopic Defocus Browser Extension based on Manifest V3

Features

Example

Applied strong Myopic Defocus on Wikipedia. For best result, settings should be adjusted for viewing conditions.

Myopic Defocus applied to Wikipedia

Download

Prebuilt

🛠 Build locally

  1. Checkout the copied repository to your local machine eg. with git clone https://github.com/my-username/my-awesome-extension/
  2. Run npm install to install all required dependencies
  3. Run npm run build

The build step will create the distribution folder, this folder will contain the generated extension.

🏃 Run the extension

Using web-ext is recommended for automatic reloading and running in a dedicated browser instance. Alternatively you can load the extension manually (see below).

  1. Run npm run watch to watch for file changes and build continuously
  2. Run npm install --global web-ext (only only for the first time)
  3. In another terminal, run web-ext run -t chromium
  4. Check that the extension is loaded by opening the extension options (in Firefox or in Chrome).

Manually

You can also load the extension manually in Chrome or Firefox.

Configuration

The extension doesn't target any specific ECMAScript environment or provide any transpiling by default. The extensions output will be the same ECMAScript you write. This allows us to always target the latest browser version, which is a good practice you should be following.

Credits

Based on browser-extension-template by fragrante

License

This browser extension template is released under the GNU General Public License version 3.0 (GPL-3.0) and mentioned below.

GPL-3.0

Project home

refractify.io

About

Myopic Defocus Browser Extension.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published