Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of Copy Relative URL

Copy Relative URL by Cody

Copy just the relative path of a URL

0 (0 reviews)0 (0 reviews)
7 Users7 Users
You'll need Firefox to use this extension
Download Firefox and get the extension
Download file

Extension Metadata

About this extension
This very simple extension adds a "Copy Relative URL" item to the context menu when you right click a link. So, for instance, if you right click a link and the URL is https://dev.example.com/some-path/?q=1#hash, it will copy /some-path/?q=1#hash to your clipboard so you can paste that nice, clean relative link in your code.

A niche use case! But I'm a web developer and I have to do that a lot more than most so I wrote an extension to make it faster.

Source code is available here: https://github.com/cody1213/copy-relative-url
Rated 0 by 0 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and dataLearn more

Required permissions:

  • Input data to the clipboard
More information
Add-on Links
  • Homepage
  • Support site
Version
1.0
Size
11.1 KB
Last updated
3 years ago (Aug 2, 2022)
Related Categories
  • Web Development
License
MIT License
Version History
  • See all versions
Add to collection
Report this add-on
More extensions by Cody
  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.