Item logo image for Generate Links for Headers

Generate Links for Headers

Featured
4.9(

11 ratings

)
Item media 1 (screenshot) for Generate Links for Headers

Overview

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

Details

  • Version
    1.3.8
  • Updated
    November 16, 2022
  • Offered by
    Grant Winney
  • Size
    36.99KiB
  • Languages
    English (United States)
  • Developer
    Email
    browser-extensions@grantwinney.com
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

The developer has disclosed that it will not collect or use your data.

This developer declares that your data is

  • Not being sold to third parties, outside of the approved use cases
  • Not being used or transferred for purposes that are unrelated to the item's core functionality
  • Not being used or transferred to determine creditworthiness or for lending purposes

Support

Related

Google Search by date - horizontal bar

4.5

Always show the date selection in a horizontal menu. Adds 6 months, 2 years & 5 years and custom search ranges.

Trufflepiggy - Quick Search

4.2

The all-in-one search tool: select and search. Find on multiple websites at once. Easy anonymous setup. Cross-browser sync.

Display #Anchors

4.9

Displays anchors for all content in the current web page without breaking the layout.

Smart TOC

4.8

Webpage outliner

Rich URL

4.8

Copy, save and share information in a convenient format.

Hyperlink from selected text

3.4

Creates a hyperlink to the current page from the selected text in one click via the context (right click) menu

Format Link

4.5

Format a link and copy it to the clipboard.

Restyler

4.8

A devtool extension for easy restyling of any webpage

Scroll Preview

3.9

Scroll Preview integrates a whole-page preview with scrollbar that inspired by Sublime Text's mini map.

Link to Text Fragment

3.7

Browser extension that allows for linking to arbitrary text on a page.

Bookmark Manager per Domain and Page

4.2

A Bookmark Manager to list all bookmarks for the domain or page of the current URL as hyperlinks.

Tab Extract

4.5

A simple & lightweight tool to reduce tab clutter, using just the address bar.

Google Search by date - horizontal bar

4.5

Always show the date selection in a horizontal menu. Adds 6 months, 2 years & 5 years and custom search ranges.

Trufflepiggy - Quick Search

4.2

The all-in-one search tool: select and search. Find on multiple websites at once. Easy anonymous setup. Cross-browser sync.

Display #Anchors

4.9

Displays anchors for all content in the current web page without breaking the layout.

Smart TOC

4.8

Webpage outliner

Rich URL

4.8

Copy, save and share information in a convenient format.

Hyperlink from selected text

3.4

Creates a hyperlink to the current page from the selected text in one click via the context (right click) menu

Format Link

4.5

Format a link and copy it to the clipboard.

Restyler

4.8

A devtool extension for easy restyling of any webpage

Google apps