Share Everything You Want To Share.
A browser extension to quickly share the current page URL on social networks, via email, copy to clipboard, or as a QR code — with a built-in recent shares history and customizable button visibility.
https://addons.mozilla.org/en-US/firefox/addon/url-sharer/
https://chrome.google.com/webstore/detail/url-sharer/efbabpfmnagdngganefofhopnoddbmae?hl=en
git clone https://github.com/shivarajnaidu/URL-sharer.git
cd URL-sharer
npm install
npm install automatically runs the build step (postinstall), which bundles js/index.js and its modules into js/bundle.js via esbuild.
To rebuild manually at any time:
npm run build
Chrome / Edge / Brave:
chrome://extensions (or edge://extensions, brave://extensions)URL-sharer project folderFirefox:
about:debugging#/runtime/this-firefoxmanifest.json file in the project folderAfter loading, click the extension icon in the toolbar to open the popup.
manifest.json # Extension manifest (v3)
index.html # Popup UI (three tabs: Share, Recent, Settings)
background-script.js # Background service worker
js/
index.js # Entry point — initializes tabs, sharing, recent, settings
bundle.js # Auto-generated esbuild bundle (gitignored)
modules/
buttons.js # Central button registry & dynamic DOM renderer
social.js # Social sharing button URLs and click handlers
copy.js # Copy-to-clipboard logic
qr.js # QR code overlay
selection.js # Get selected text from active tab
recent.js # Recent shares storage (chrome.storage.local)
recent-ui.js # Recent tab rendering and clear button
settings.js # Button visibility storage (chrome.storage.local)
settings-ui.js # Settings tab rendering and toggle handlers
css/
layout.css # CSS variables, popup container, tab bar
sharing.css # Social button styles, brand colors, about section
qr.css # QR code overlay styles
recent.css # Recent list styles
settings.css # Settings toggle list styles
icons/ # Extension icons and SVG social icons
npm install has been run (so js/bundle.js exists)zip -r url-sharer.zip manifest.json index.html background-script.js js/bundle.js css/ icons/
url-sharer.zipnpm install has been runNote: Bump the
versionin bothmanifest.jsonandpackage.jsonbefore publishing a new release.
Any contributions are appreciated.
If you find this extension useful, consider supporting the project:
This Program is Licensed under GPL v3. Copyright (C) 2016 – present yuvaraj (aka shivaraj). See LICENSE for more information.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.