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

Latest Version

Version
1.3.8
Update
November 15, 2022
Size
36.99KiB
Developer
Category
Users
478
Rating
4.90909 ★
Manifest Version
3
Web Store Status
Languages Support
English (United States)
See more
Permissions
See more

Generate Links for Headers Extension

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
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "author": "Grant Winney", "homepage_url": "https://github.com/grantwinney/generate-links-for-headers", "name": "Generate Links for Headers", "description": "Automatically generates links for all headers on the page, to make it easier to share specific sections of the page.", "version": "1.3.8", "content_scripts": [ { "css": [ "styles/generate_links.css" ], "js": [ "scripts/generate_links.js" ], "matches": [ "" ], "exclude_matches": [ "*://reservations.cosi.org/*", "*://fiscaloffice.summitoh.net/*", "*://github.com/*", "*://docs.microsoft.com/*", "*://amazon.com/*" ] } ], "icons": { "16": "icons/links-for-headers-16.png", "32": "icons/links-for-headers-32.png", "48": "icons/links-for-headers-48.png", "64": "icons/links-for-headers-64.png", "128": "icons/links-for-headers-128.png" }}
Read more

How to download and manually install Generate Links for Headers extension for Chrome

Looking for a way to install Generate Links for Headers extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Generate Links for Headers extensions manually, this article outlines two simple methods to effortlessly install Generate Links for Headers extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Generate Links for Headers extension and manually install through Drag &Drop

If you ever need to manually install a Generate Links for Headers extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Generate Links for Headers Extension by clicking the "Download CRX" button on the website.

Look for the Generate Links for Headers extension you wish to install. Go to the website and download the Generate Links for Headers extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Generate Links for Headers extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Generate Links for Headers extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Generate Links for Headers extension for Chrome and install in Developer Mode

This is another method to install Generate Links for Headers extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Generate Links for Headers extension file

Select and download the Generate Links for Headers extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Generate Links for Headers extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Generate Links for Headers extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Generate Links for Headers extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Generate Links for Headers extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

User reviews

icon

Thanee Charattrakool (ID: 000000022566c36f) Voted 5 ★ - Updated 10/19/2023 It's pretty work and easy to use !!!

icon

Jerry R Cole - LightBox (ID: 000000be372557ab) Voted 5 ★ - Updated 03/22/2022 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.

icon

Pavol Závodský Kutaj (ID: 000000db0f950862) Voted 5 ★ - Updated 10/09/2021 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/ :)

icon

Douglas Cooper (ID: 000000ac6fbe5c13) Voted 5 ★ - Updated 07/04/2020 Excellent. Simple design.

icon

Denis Couto (ID: 000000912a4af58a) Voted 5 ★ - Updated 10/02/2019 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.