Automatically generates links for all headers on the page, to make it easier to share specific sections of the page.
Generate Links for Headers Extension
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
Source Manifest.json
Similar Extensions
Anchor headings 478 2 ★ 5.67KiB
Link to Element 478 0 ★ 28.25KiB
Rich URL 478 76 ★ 750KiB
TabPolish 478 8 ★ 647KiB
Hyperlink from selected text 478 8 ★ 33.01KiB
Bookmark Manager per Domain and Page 478 11 ★ 13.83KiB
Link With Context 478 8 ★ 9.59KiB
Copy Link With Title 478 15 ★ 58.18KiB
Turbo Outliner 478 16 ★ 16.94KiB
Link to Here 478 7 ★ 4.98KiB
Historian 478 4 ★ 1.24MiB
Scroll Preview 478 27 ★ 68.71KiB
Link to Text Fragment 478 153 ★ 94.02KiB
Show Anchors 478 25 ★ 70.62KiB
LinkToId 478 4 ★ 14.07KiB
Format Link 478 12 ★ 53.32KiB
Restyler 478 14 ★ 853KiB
Extensioner 478 83 ★ 125KiB
Smart TOC 478 100 ★ 81.44KiB
Table-of-contents-crx 478 20 ★ 94.75KiB
ManExt 478 11 ★ 413KiB
Text Explorer 478 6 ★ 3.19MiB
Link Preview Sidebar 478 21 ★ 74.34KiB
Display #Anchors 478 61 ★ 32.65KiB
User reviews
Thanee Charattrakool (ID: 000000022566c36f) Voted 5 ★ - Updated 10/19/2023
Jerry R Cole - LightBox (ID: 000000be372557ab) Voted 5 ★ - Updated 03/22/2022
Pavol Závodský Kutaj (ID: 000000db0f950862) Voted 5 ★ - Updated 10/09/2021
Douglas Cooper (ID: 000000ac6fbe5c13) Voted 5 ★ - Updated 07/04/2020
Denis Couto (ID: 000000912a4af58a) Voted 5 ★ - Updated 10/02/2019