Update docs, manifest

This commit is contained in:
0x1eef 2024-04-26 01:07:30 -03:00
parent 311f473cef
commit e3418faa8f
3 changed files with 18 additions and 2 deletions

View file

@ -13,13 +13,15 @@ to your browser.
## Install ## Install
**Chrome**
* Produce the `build/` directory * Produce the `build/` directory
$ git clone https://github.com/0x1eef/myip.wtf $ git clone https://github.com/0x1eef/myip.wtf
$ cd myip.wtf $ cd myip.wtf
$ npm i $ npm i
$ npm run build:production $ npm run build:production
* Load the extension * Load the extension
* Visit `chrome://extensions`. * Visit `chrome://extensions`.
* Check `Developer mode` (top right hand corner). * Check `Developer mode` (top right hand corner).
@ -27,6 +29,12 @@ to your browser.
* Choose the `build/production/` directory from the file dialog. * Choose the `build/production/` directory from the file dialog.
* Done. * Done.
**Firefox**
The [share/myip.wtf/xpi](share/myip.wtf/xpi) directory contains
signed XPI files for Firefox users. After downloading an XPI file
the extension can be added to the browser from `about:addons`.
## Sources ## Sources
* [GitHub](https://github.com/0x1eef/myip.wtf#readme) * [GitHub](https://github.com/0x1eef/myip.wtf#readme)

View file

@ -1,6 +1,9 @@
{ {
"name": "myip.wtf", "name": "myip.wtf",
"version": "0.4.2", "version": "0.4.2",
"webExt": {
"sourceDir": "build/production"
},
"dependencies": { "dependencies": {
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0" "react-dom": "^18.2.0"

View file

@ -14,5 +14,10 @@
"256": "images/icons/wtf256x256.png" "256": "images/icons/wtf256x256.png"
}, },
"permissions": [], "permissions": [],
"default_locale": "en" "default_locale": "en",
"browser_specific_settings": {
"gecko": {
"id": "{b9004e11-0d38-417e-8968-9adc2229a6c3}"
}
}
} }