Browser extension that captures the original SharePoint share link (e.g., /:v:/g/personal/...) before it gets redirected to the long, unshareable stream.aspx URL.
- Detects SharePoint redirects automatically.
- Captures the original shareable link.
- Displays a notification on the destination page with a copy button.
src/: Common extension source code.manifests/: Browser-specific manifest files.scripts/: Build scripts.
- Install dependencies:
npm install
- Build for both browsers:
npm run build
- Artifacts will be in
dist/.
- Chrome/Edge: Load unpacked extension from
dist/chrome. - Firefox: Load temporary add-on from
dist/firefoxOR use the automated signed release.
This repository includes a GitHub Action to automatically build and publish the extension.
- Register at the Mozilla Developer Hub.
- Go to Tools > Manage API Keys and generate a new JWT issuer/secret.
- In this GitHub URL, go to Settings > Secrets and variables > Actions.
- Create two Repository secrets:
AMO_JWT_ISSUER: Your Issuer string.AMO_JWT_SECRET: Your Secret string.
- In
manifests/manifest.firefox.json, update theidunderbrowser_specific_settings.geckoto match your registered add-on ID. - When you create a new Release in GitHub (tag starting with
v), the Action will automatically sign and publish the update to the store.