首页 扩展程序 Link to Element

Link to Element

提供方: Alex Dergachev
0
无障碍 246 位用户

插件简介

Easily send and receive direct links to any section within an HTML page.
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

其他信息

ID enadmddipfodpmlnaajhofpkiephdhhe 版本 0.2 上次更新日期 2017年11月9日 大小 28.25KiB 语言 支持1 种语言 开发者 适用浏览器

谷歌浏览器、其他Chromium内核的浏览器

Link to Element Chrome插件下载

为打击盗链困扰,本站已启用人机验证
微信扫码关注左侧公众号,发送“插件”二字获得验证码,验证码5分钟全站有效