Generate Links for Headers
Overview
Generate Links for Headers is a Chrome extension developed by Grant Winney.
According to the data from Chrome web store, current version of Generate Links for Headers is 1.3.8, updated on 2022-11-15.
348 users have installed this extension.
10 users have rated this extension with an average rating of .
Automatically generates links for all headers on the page, to make it easier to share specific sections of the page.
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
Generate Links for Headers Alternatives
Name | Category | Rating | Rating Count | Installs |
---|---|---|---|---|
Display #Anchors | Productivity | (53) | 10,000+ | |
Hyperlink from selected text | Productivity | (7) | 212 | |
Link With Context | Productivity | (7) | 645 | |
Link to Element | Accessibility | (0) | 218 | |
Show Anchors | Productivity | (25) | 1,000+ | |
Rich URL | Productivity | (61) | 3,000+ | |
Bookmark Manager per Domain and Page | Productivity | (8) | 569 | |
Historian | Productivity | (4) | 360 | |
TabPolish | Productivity | (9) | 347 | |
Copy Link With Title | Developer Tools | (12) | 1,000+ | |
Scroll Preview | Productivity | (26) | 789 | |
Link to Here | Social & Communication | (7) | 163 | |
LinkToId | Blogging | (4) | 84 | |
Format Link | Productivity | (11) | 1,000+ | |
Turbo Outliner | Productivity | (16) | 644 | |
Anchor headings | Accessibility | (2) | 12 | |
Webmapper | Productivity | (11) | 0 | |
Link to Text Fragment | Productivity | (133) | 100,000+ | |
Restyler | Developer Tools | (13) | 483 | |
Page Structure Cache | Productivity | (7) | 543 | |
Extensioner | Productivity | (76) | 2,000+ | |
Block Unreachable Scripts | Productivity | (5) | 1,000+ | |
History Finder | Productivity | (10) | 471 | |
Text Explorer | Productivity | (4) | 1,000+ |
Latest Reviews
See More
Jerry R Cole - LightBox
2022-03-22
Truly plug and play! Works great. I like that the link icon only appears after you hover your mouse over the heading. As other reviewers have noted, the extension only generates anchor links if the author of the page properly added an html ID to the heading element. |
Pavol Kutaj
2021-10-09
Works as expected out-of-the-box in an elegant, non-intrusive, single-click manner: you built the right thing, which is the hardest part of software as per https://www.simplethread.com/20-things-ive-learned-in-my-20-years-as-a-software-engineer/ |
Douglas Cooper
2020-07-04
Excellent. Simple design. |
Denis Couto
2019-10-02
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. |
Bryan Stark
2019-06-29
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. |