Jquery Fragment Selector
Use Url Fragments to scroll an item into view.
什么是Jquery Fragment Selector?
Jquery Fragment Selector是由David Worenklein开发的Chrome扩展程序,该扩展的主要功能是“Use Url Fragments to scroll an item into view.”。
下载Jquery Fragment Selector扩展crx文件
下载Jquery Fragment Selector扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。
扩展使用说明
This extension hijacks the html fragment to allow it to target a general-purpose jQuery selector rather than just an or a DOM identifier.
This is implemented in the spirit of http://simonstl.com/articles/cssFragID.html
The extension is only enabled when the fragment starts with #css(JQUERY_SELECTOR)
For example, using jQFS, he following is possible: "point to the seventh row in the first table on the page": http://en.wikipedia.org/wiki/List_of_job_scheduler_software#css(tr:nth-of-type(7))
Additional Features:
The extension features an expanded version of jQuery's :contains selector, :containsExactly (which is case sensitive): "point to the first table cell whose text consists solely of the word "Flux" http://en.wikipedia.org/wiki/List_of_job_scheduler_software#css(td:containsExactly('Flux'))
Extension detection:
You may detect this extension via this asynchronous technique: function detectExtension(extensionId, callback) { var img; img = new Image(); img.onload = function() { callback(true); }; img.onerror = function() { callback(false); }; img.src = "chrome-extension://" + extensionId + "/test.png"; }
a la http://stackoverflow.com/questions/6293498/check-whether-user-has-a-chrome-extension-installed#answer-27930310 扩展基本信息
| 名称 | |
| ID | lmohjchbdlfahhdakeledkneklknfkid |
| 官方URL | https://chrome.google.com/webstore/detail/jquery-fragment-selector/lmohjchbdlfahhdakeledkneklknfkid |
| 简介 | Use Url Fragments to scroll an item into view. |
| 文件大小 | 39.83 KB |
| 安装次数 | 19 |
| 当前版本 | 0.2.1 |
| 更新时间 | 2015-06-17 |
| 上架时间 | 2015-06-17 |
| 开发者 | David Worenklein |
| 付费类型 | free |
| 扩展官网 | https://github.com/worenklein/fragment-selector |
| 支持的语言 | en |
| manifest.json | |
{
"update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
"name": "__MSG_extName__",
"default_locale": "en",
"version": "0.2.1",
"description": "Use Url Fragments to scroll an item into view.",
"browser_action": {
"default_icon": {
"19": "img\/reticle-19.png",
"38": "img\/reticle-38.png"
},
"default_title": "jQuery Fragment Selector",
"default_popup": "popup.html"
},
"content_scripts": [
{
"run_at": "document_end",
"matches": [
"http:\/\/*\/*",
"https:\/\/*\/*"
],
"js": [
"jquery-2.1.4.min.js",
"page.js"
]
}
],
"web_accessible_resources": [
"test.png"
],
"manifest_version": 2
} | |