Skip to content

SiliconMoss/sharepoint-link-capturer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SharePoint Link Capturer

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.

Features

  • Detects SharePoint redirects automatically.
  • Captures the original shareable link.
  • Displays a notification on the destination page with a copy button.

Structure

  • src/: Common extension source code.
  • manifests/: Browser-specific manifest files.
  • scripts/: Build scripts.

Building

  1. Install dependencies:
    npm install
  2. Build for both browsers:
    npm run build
  3. Artifacts will be in dist/.

Installation

  • Chrome/Edge: Load unpacked extension from dist/chrome.
  • Firefox: Load temporary add-on from dist/firefox OR use the automated signed release.

Automation & Publishing

This repository includes a GitHub Action to automatically build and publish the extension.

Setting up Mozilla Add-ons (Firefox) Publishing

  1. Register at the Mozilla Developer Hub.
  2. Go to Tools > Manage API Keys and generate a new JWT issuer/secret.
  3. In this GitHub URL, go to Settings > Secrets and variables > Actions.
  4. Create two Repository secrets:
    • AMO_JWT_ISSUER: Your Issuer string.
    • AMO_JWT_SECRET: Your Secret string.
  5. In manifests/manifest.firefox.json, update the id under browser_specific_settings.gecko to match your registered add-on ID.
  6. When you create a new Release in GitHub (tag starting with v), the Action will automatically sign and publish the update to the store.

About

Captures original SharePoint share links before the 302 redirect happens. Allows you to copy or open the original shareable /:v:/g/personal/ URL instead of the restricted stream.aspx destination URL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors