Easily send and receive direct links to any section within an HTML page.
Link to Element Extension
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
Source Manifest.json
Similar Extensions
LinkToId 244 4 ★ 14.07KiB
Link to Here 244 7 ★ 4.98KiB
Generate Links for Headers 244 11 ★ 36.99KiB
DevTools Classes & Atributes panel 244 4 ★ 12.75KiB
Copy DOM Content 244 2 ★ 13.8KiB
Copy Element ID 244 16 ★ 119KiB
showHTML 244 2 ★ 12.59KiB
DOM to JSON Converter 244 1 ★ 18.23KiB
DOM-JSON Tree Matcher 244 0 ★ 18.58KiB
XTag Selector: Visual selection for trackers 244 2 ★ 70.08KiB
Hyperlink from selected text 244 8 ★ 33.01KiB
Scripter debugger extension 244 2 ★ 1.04MiB
Selector Finder 244 3 ★ 333KiB
XPath tool 244 5 ★ 20.82KiB
LiveScriptConsole 244 2 ★ 388KiB
DOM to JSON Selector 244 0 ★ 48.55KiB
Dev Playground 244 2 ★ 288KiB
Link With Context 244 8 ★ 9.59KiB
Element Locator 244 22 ★ 264KiB
Show Anchors 244 25 ★ 70.62KiB
XPATH Builder 244 3 ★ 16.32KiB
DOM X-Ray 244 2 ★ 57.82KiB
Restyler 244 14 ★ 853KiB
Page Modeller (Selenium, Robot Framework etc) 244 5 ★ 1.12MiB