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 |
| 官方網址 | 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
} | |