1
Fork 0
No description
  • TypeScript 65%
  • JavaScript 35%
Find a file
2026-06-06 18:54:20 +05:00
assets feat: add extension icons 2026-06-06 18:54:04 +05:00
public feat: add extension icons 2026-06-06 18:54:04 +05:00
scripts feat: add Firefox extension build support 2026-06-06 18:52:16 +05:00
src feat: add Firefox extension build support 2026-06-06 18:52:16 +05:00
test test: cover YouTube URL parsing 2026-06-06 18:52:50 +05:00
.gitignore chore: add extension lint and packaging tooling 2026-06-06 18:53:34 +05:00
LICENSE init: add extension source 2026-05-13 23:28:39 +05:00
package-lock.json chore: add extension lint and packaging tooling 2026-06-06 18:53:34 +05:00
package.json chore: add extension lint and packaging tooling 2026-06-06 18:53:34 +05:00
README.md docs: compact README 2026-06-06 18:54:20 +05:00
tsconfig.json init: add extension source 2026-05-13 23:28:39 +05:00

YouTube Clean URL icon

YouTube Clean URL

Chrome and Firefox extension for copying clean YouTube links.

https://www.youtube.com/watch?v=dQw4w9WgXcQ&list=abc&index=1
-> https://youtu.be/dQw4w9WgXcQ

With timestamp:

https://www.youtube.com/watch?v=dQw4w9WgXcQ
-> https://youtu.be/dQw4w9WgXcQ?t=90

The timestamp command reads the actual player time, not just the URL query.

Shortcuts

Browser Clean URL Clean URL with timestamp
Chrome/Chromium Ctrl + Shift + Y Ctrl + Shift + U
Firefox Ctrl + Alt + Y Ctrl + Alt + U

The toolbar icon copies a clean URL without timestamp.

Install Locally

npm install
npm run build

Chrome/Chromium:

  1. Open chrome://extensions
  2. Enable Developer mode
  3. Click Load unpacked
  4. Select dist/chrome

Firefox 142+:

  1. Open about:debugging#/runtime/this-firefox
  2. Click Load Temporary Add-on...
  3. Select dist/firefox/manifest.json

Shortcut settings:

  • Chrome/Chromium: chrome://extensions/shortcuts
  • Firefox: about:addons -> gear icon -> Manage Extension Shortcuts

Commands

Command Purpose
npm run build Build Chrome and Firefox extensions into dist/
npm run check Run TypeScript, URL parser tests, and Firefox lint
npm run package Create store-ready zip files in packages/

Package output:

  • packages/youtube-clean-url-chrome-v1.0.0.zip
  • packages/youtube-clean-url-firefox-v1.0.0.zip

Supported URLs

  • youtube.com/watch?v=VIDEO_ID
  • youtube.com/shorts/VIDEO_ID
  • youtube.com/embed/VIDEO_ID
  • youtube.com/live/VIDEO_ID
  • youtu.be/VIDEO_ID
  • music.youtube.com/watch?v=VIDEO_ID

License

MIT