Mozzarella

Home

Copy Current Page URL with Anchor

Firefox extension that allows to right click anything on a page and copy the page URL with the clicked element's ID, thus retaining an anchor. Useful if you want to keep a link to specific section of a webpage.

If you click on an element that doesn't have an ID attribute it still will let you copy an anchored link of a parent section which does have an ID.

The extension tries to be smart and not to litter the context menu if there're no IDs in clicked elements or their parents.

Also to provide meaningful results, it works only when an ID happens to be on one of these HTML elements: h1, h2, h3, h4, h5, h6, p, span, blockquote, a, img, ul, ol, dl, li, dt, section, article, aside, figure, nav.

The source code is on Github.

Install