Easily send and receive direct links to any section within an HTML page.

Latest Version

Version
0.2
Update
November 9, 2017
Size
28.25KiB
Developer
Category
Users
244
Rating
1 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
ContextMenus
See more

Link to Element Extension

chrome-xpath-link

Did you ever want to deep link to a paragraph of an HTML page? If that section or paragrah has an HTML id attribute set, browsers will scroll to it if you append it to the URL hash https://github.com/dergachev/chrome-xpath-link#chrome-xpath-link

This extension allows you to easily copy a direct link to any element (with or without id attribute) simply by right clicking on it, and selecting \"Get link to XPath\" from the context menu.

Generally the paths will be of the following form: https://github.com/dergachev/chrome-xpath-link#readme/article/p-3

Upon visiting a URL that contains a valid xpath, the script will highgliht and scroll to that element.

A valid xpath is either any standard XPath expression (eg //*[@id=\"dom-element-id\"]/div[4]), or an encoding of one as produced by this script (eg dom-element-id/div-4).

Installation

To use the plugin, simply download this CRX package file: https://github.com/dergachev/chrome-xpath-link/blob/master/chrome-xpath-link.crx?raw=true Note that it may be out of date relative to the source.

Inspiration

XPath code shamelessly copied from the Firebug Lite chrome extension: http://getfirebug.com/firebuglite#Debug My Chrome extension development was greatly aided by this tool: https://github.com/Rob--W/Chrome-Extension-Reloader
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Link to Element", "description": "Easily send and receive direct links to any section within an HTML page.", "version": "0.2", "permissions": ["contextMenus"], "background": { "scripts": ["background.js"] }, "icons": { "128": "link-to-element.png"}, "content_scripts": [ { "js": ["lib/jquery.min.js", "lib/jquery.scrollto.min.js","lib/jquery.xpath.js", "link-to-element.helpers.js", "link-to-element.js"], "matches": [ "http://*/*", "https://*/*" ] } ], "manifest_version": 2}
Read more

How to download and manually install Link to Element extension for Chrome

Looking for a way to install Link to Element 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 Link to Element extensions manually, this article outlines two simple methods to effortlessly install Link to Element extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Link to Element extension and manually install through Drag &Drop

If you ever need to manually install a Link to Element 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 Link to Element Extension by clicking the "Download CRX" button on the website.

Look for the Link to Element extension you wish to install. Go to the website and download the Link to Element extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Link to Element 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 Link to Element 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 Link to Element extension for Chrome and install in Developer Mode

This is another method to install Link to Element 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 Link to Element extension file

Select and download the Link to Element 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 Link to Element 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 Link to Element 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 Link to Element 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 Link to Element extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

LinkToId Extension · Social & Communication 244 4 ★ 14.07KiB

icon

Link to Here Extension · Social & Communication 244 7 ★ 4.98KiB

icon

Generate Links for Headers Extension · Productivity 244 11 ★ 36.99KiB

icon

DevTools Classes & Atributes panel Extension · Developer Tools 244 4 ★ 12.75KiB

icon

Copy DOM Content Extension · Developer Tools 244 2 ★ 13.8KiB

icon

Copy Element ID Extension · Developer Tools 244 16 ★ 119KiB

icon

showHTML Extension · Developer Tools 244 2 ★ 12.59KiB

icon

DOM to JSON Converter Extension · Developer Tools 244 1 ★ 18.23KiB

icon

DOM-JSON Tree Matcher Extension · Developer Tools 244 0 ★ 18.58KiB

icon

XTag Selector: Visual selection for trackers Extension · Developer Tools 244 2 ★ 70.08KiB

icon

Hyperlink from selected text Extension · Productivity 244 8 ★ 33.01KiB

icon

Scripter debugger extension Extension · Developer Tools 244 2 ★ 1.04MiB

icon

Selector Finder Extension · Developer Tools 244 3 ★ 333KiB

icon

XPath tool Extension · Developer Tools 244 5 ★ 20.82KiB

icon

LiveScriptConsole Extension · Developer Tools 244 2 ★ 388KiB

icon

DOM to JSON Selector Extension · Developer Tools 244 0 ★ 48.55KiB

icon

Dev Playground Extension · Developer Tools 244 2 ★ 288KiB

icon

Link With Context Extension · Productivity 244 8 ★ 9.59KiB

icon

Element Locator Extension · Developer Tools 244 22 ★ 264KiB

icon

Show Anchors Extension · Productivity 244 25 ★ 70.62KiB

icon

XPATH Builder Extension · Developer Tools 244 3 ★ 16.32KiB

icon

DOM X-Ray Extension · Developer Tools 244 2 ★ 57.82KiB

icon

Restyler Extension · Developer Tools 244 14 ★ 853KiB

icon

Page Modeller (Selenium, Robot Framework etc) Extension · Developer Tools 244 5 ★ 1.12MiB