krtek4 / MultiPass

Automatically login to Basic Authentication using data based on URL regexp.
http://gilles.crettenand.info/MultiPass
Do What The F*ck You Want To Public License
88 stars 23 forks source link

MultiPass for basic authentication

This extension allows you to register credential associated to a regular expression.

When you browse a website that requires HTTP basic authentication, if the URL match against one of the regular expression, the credentials will be automatically sent.

No more cumbersome login popin, everything is done in the background.

Chrome web store

The extension is available on the Chrome web store: MultiPass for HTTP basic authentication.

Opera add-ons

The extension is available as an Opera add-on : MultiPass.

Firefox Add-ons

The extension is available as a Firefox add-on : MultiPass.

Report an issue

If you want to report an issue, use the Github issue tracker: MultiPass issues.

Please make sure the issue is not already opened.

Build the extension

  1. Clone the github repository : git clone git@github.com:krtek4/MultiPass.git.
  2. Enter the directory : cd MultiPass.
  3. Install dependencies : npm ci.
  4. Build the extension : npm run dist.
  5. The package for all supported browser is now available in the dist folder.

The installation process will depend on your browser.

NOTE on how to build the extension in docker:

  1. start docker container:

    $ docker run --rm -ti -v "${PWD}:/code" -w /code node:12-alpine sh
  2. install dependencies and theirs prerequisites:

    $ apk add --no-cache make g++ python3
    $ npm ci
  3. build the extension:

    $ npm run dist

Use the development version

If you want to use the development version, follow those steps :

  1. Clone the github repository : git clone git@github.com:krtek4/MultiPass.git.
  2. Enter the directory : cd MultiPass.
  3. Install dependencies : npm install.
  4. Build the extension : npm run build.
  5. Open the Extension panel in Chrome : Tools / Extensions.
  6. Make sure the "Developer mode" checkbox is checked.
  7. Click on "Load unpacked extension...", first browse to the directory where you cloned the extension and then select the build/chrome folder.

Using the development version on Opera and Firefox is left as an exercise for the reader ;)

Credits