Extension for Firefox
"Better Local File Browsing" adds CSS and javascript to the browser when viewing local files.
Feel free to contribute!
- remove the
min
inmain/content-script.min.js
atmanifest.json
- $ web-ext run
- (Optional) Uncomment all console.log()
$ web-ext run -t chromium
To run in chrome.
$ google-closure-compiler -O SIMPLE ./main/content-script.js --js_output_file ./main/content-script.min.js
$ web-ext build --overwrite-dest --ignore-files ./main/content-script.js ./store-assets
- Chrome requries manifest 3, Firefox on manifest 2.
- The two manifests manifest.chrome.json and manifest.firefox, I copy and paste that into manifest.json individually then run the build.