extension ExtPose

Generate Links for Headers

Description from extension meta

Automatically generates links for all headers on the page, to make it easier to share specific sections of the page.

Image from store Generate Links for Headers
Description from store Ever wanted to share a link, not just to a webpage, but to a particular section of a webpage? Most of the time, when you see a header on a webpage, it has an ID associated with it. You can use the ID to create a link to that section, but finding the ID usually means viewing the source code for the page, finding the header element for the section you want, and appending the ID to the URL before sharing it. It doesn't have to be that hard. CREATING LINKS AUTOMATICALLY This extension scans the page and generates links for all headers on the page, assuming they have an ID or Name assigned. - Hover over any header, and an anchor link will appear. - Click on the "chain" icon to copy the link to your clipboard. If there's no ID or Name in the header tag, it will search any elements nested inside the header tag for the first one with an ID or Name assigned. Failing that, it looks at the immediate parent element (i.e. a header nested in a DIV). If it still finds nothing, then no link will be generated or shown. REQUIRED PERMISSIONS It'll ask you for permission to read and modify all pages, because that's what it does. It scans the page for headers with IDs (or Names), and then injects one link for each header that has it present. NEED HELP? If you need help, have a comment or suggestion, or just want to see the code for yourself, visit the GitHub repo where the source code is hosted. You can open an issue by clicking the "Issues" tab at the top. https://github.com/grantwinney/generate-links-for-headers-in-chrome WANT TO LEARN MORE? If you'd like to write your own Chrome extension, but aren't sure where to start, check out this brief tutorial: https://grantwinney.com/making-your-first-chrome-extension

Latest reviews

  • (2020-07-04) Douglas Cooper: Excellent. Simple design.
  • (2019-10-02) Denis Couto: Just what I was looking for, as a Support Engineer I have to share product documentations which can be quite long to read, but now I can link the specific section of it and easily share with my customers.
  • (2019-06-29) Bryan Stark: This works great for webpages that are structured correctly and actually use the H2, H3 etc., headings. But for pages that don't use that, instead I guess they use something else, this ext, won't work. For example I looked at a page that has the <h3> tags around text but this ext wasn't showing a link.


142 history
4.6667 (3 votes)
Last update / version
2020-02-18 / 1.2.4
Listing languages