PK šK?@ÙǪ°A A chrome-query/devtools.html
PK šK?@Û_D½ ½ chrome-query/devtools.js// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // The function below is executed in the context of the inspected page. var page_getProperties = function() { var data = window.jQuery && $0 ? jQuery.data($0) : {}; // Make a shallow copy with a null prototype, so that sidebar does not // expose prototype. var props = Object.getOwnPropertyNames(data); var copy = { __proto__: null }; for (var i = 0; i < props.length; ++i) copy[props[i]] = data[props[i]]; return copy; } chrome.devtools.panels.elements.createSidebarPane( "jQuery Properties", function(sidebar) { function updateElementProperties() { sidebar.setExpression("(" + page_getProperties.toString() + ")()"); } updateElementProperties(); chrome.devtools.panels.elements.onSelectionChanged.addListener( updateElementProperties); }); PK šK?@ß,ïø ø chrome-query/manifest.json{ "name": "Chrome Query", "version": "1.1", "description": "Extends the Developer Tools, adding a sidebar that displays the jQuery data associated with the selected DOM element.", "devtools_page": "devtools.html", "manifest_version": 2 } PK šK?@ÙǪ°A A chrome-query/devtools.htmlPK šK?@Û_D½ ½ y chrome-query/devtools.jsPK šK?@ß,ïø ø ( l chrome-query/manifest.jsone4e53e3e1b8582e0d81e7f45afc6aecf7ba87f0dPK þ œ