This is a Firefox and Chromium browser extension which allows you to copy nice links of an Axosoft item to your clipboard.
- Button to copy link to current Axosoft item
- Possibility to change delimiter between item number and title
- Possibility to enable a shortcut for even faster copy
src
- main source.contentScript
- scripts and components to be injected ascontent_script
background
- scripts for background.components
- auto-imported Vue components that shared in popup and options page.styles
- styles shared in popup and options pagemanifest.ts
- manifest for the extension.
extension
- extension package root.assets
- static assets.dist
- built files, also serve stub entry for Vite on development.
scripts
- development and bundling helper scripts.
pnpm dev
Then load extension in browser with the extension/
folder.
For Firefox developers, you can run the following command instead:
pnpm start:firefox
web-ext
auto reload the extension when extension/
files changed.
While Vite handles HMR automatically in the most of the case, Extensions Reloader is still recommanded for cleaner hard reloading.
To build the extension and generate artefacts, run
pnpm build
To generate ZIP file of the whole project for reviewers
pnpm pack
To build XPI which can be uploaded to stores
pnpm pack:xpi
A massive shoutout goes out to @antfu who provided the base of this project with the vitesse-webext template. Thank you 🎉