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

- License: MIT License
- Weekly downloads: 0
- Average daily users: 1
- Rating: 0/5 of 0 ratings
- Created: 2022-08-02 22:44:09
- Last updated: 2022-08-03 07:10:12
- Homepage: https://github.com/cody1213/copy-relative-url
- Support site and email
- Orig: https://addons.mozilla.org/en-US/firefox/addon/copy-relative-url/
- API: {f5929e94-34ea-41bc-809b-8de8a0428ca1}