Screen Ruler: Measure The Web
Measure sizes, distances, margins and paddings of any element on any web page.
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "__MSG_EXT_NAME__",
"description": "__MSG_EXT_DESCRIPTION__",
"version": "1.5.3",
"minimum_chrome_version": "116",
"manifest_version": 3,
"default_locale": "en",
"permissions": [
"scripting",
"activeTab",
"contextMenus",
"commands",
"storage",
"offscreen",
"declarativeContent",
"sidePanel"
],
"optional_permissions": [
"downloads"
],
"web_accessible_resources": [
{
"resources": [
"scripts/patterns/*.svg"
],
"matches": [
"<all_urls>"
]
}
],
"content_scripts": [
{
"matches": [
"https://extensionpay.com/*"
],
"js": [
"ExtPay.js"
],
"run_at": "document_start"
}
],
"side_panel": {
"default_path": "sidepanel/side-panel.html"
},
"icons": {
"16": "images/icon16.png",
"24": "images/icon24.png",
"32": "images/icon32.png",
"48": "images/icon48.png",
"128": "images/icon128.png"
},
"background": {
"service_worker": "background.js"
},
"action": {
"default_title": "__MSG_EXT_NAME_SHORT__"
},
"commands": {
"_execute_action": {
"suggested_key": {
"default": "Alt+Shift+R",
"mac": "Alt+Shift+R"
}
},
"select_parent": {
"suggested_key": {
"default": "Alt+Up",
"mac": "Alt+Up"
},
"description": "Move selection to parent element."
},
"select_child": {
"suggested_key": {
"default": "Alt+Down",
"mac": "Alt+Down"
},
"description": "Move selection to child element."
},
"save_screenshot": {
"suggested_key": {
"default": "Ctrl+Shift+S",
"mac": "Command+Shift+S"
},
"description": "Take a screenshot of the highlighted area (PRO)."
}
}
}