https://github.com/ratson/refined-lihkg
https://github.com/ratson/refined-lihkg
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/ratson/refined-lihkg
- Owner: ratson
- Created: 2019-10-20T13:30:45.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-09T10:27:13.000Z (over 6 years ago)
- Last Synced: 2025-01-30T22:51:25.016Z (over 1 year ago)
- Language: TypeScript
- Size: 42 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Develop
First clone:
```sh
git clone https://github.com/ratson/refined-lihkg
cd refined-lihkg
yarn
```
When working on the extension or checking out branches, use this to have it constantly build your changes:
```sh
yarn watch # Listen for file changes and automatically rebuild
```
Then load or reload it into the browser to see the changes (this does not happen automatically).
## Loading into the browser
Once built, load it in the browser of your choice:
Chrome
Firefox
- Open
chrome://extensions;
- Check the Developer mode checkbox;
- Click on the Load unpacked extension button;
- Select the folder
refined-lihkg/distribution.
- Open
about:debugging#addons;
- Click on the Load Temporary Add-on button;
- Select the file
refined-lihkg/distribution/manifest.json.
Or you can use run this command to have Firefox automatically load and reload it through web-ext run:
yarn watch-firefox