Copy Relative URL by Cody
Copy just the relative path of a URL
You'll need Firefox to use this extension
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
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
Rate your experience
PermissionsLearn more
This add-on needs to:
- Input data to the clipboard
More information
- Add-on Links
- Version
- 1.0
- Size
- 11.1 KB
- Last updated
- 2 years ago (Aug 2, 2022)
- Related Categories
- License
- MIT License
- Version History
Add to collection
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