Page Ruler

Page Ruler插件_谷歌插件_google_中文插件搜寻网_addonhunt

使用用户:532,435

更新时间:2016-11-28 19:26:22

插件评分:评分 4.33386,满分5星

插件作者:

帮助中心:https://github.com/wrakky/page-ruler/issues

所属分类:开发者工具

插件来源:谷歌应用中心

官方链接: --

最新版本:2.0.9

发布时间:2014年9月19日

语言支持: English,English (UK),Français,Tiếng Việt,español,italiano,português (Brasil),slovenský,

插件介绍:Draw a ruler to get pixel dimensions and positioning, and measure elements on any web page.

详细介绍:Page Ruler lets your draw out a ruler to any page and displays the width, height and position of it. Features ------------- * Draw a ruler to any page and view the width, height and top, bottom, left and right position * Drag the edges of the ruler to resize it * Use the arrow keys to move and resize the ruler * Show guides extending from the ruler edges * Manually update the size and position of the ruler from the toolbar to make precision changes * Enable "Element Mode" to outline elements on the page as you move your mouse over them * Navigate through parents, children and sibling elements of any measured element Important ------------ To use on local pages you will need to enable the "allow access to file URLs" option in your extensions tab Support ----------- If you have any questions or wish to report a bug please use the 'Support' link in the Details tab above.

manifest.json配置:

"	{
"update_url": "https://clients2.google.com/service/update2/crx",


	"manifest_version":  2,

	"name": "__MSG_extName__",
	"short_name": "__MSG_extShortName__",
	"description": "__MSG_extDescription__",
	"version": "2.0.9",

	"default_locale": "en",

	"background":  {
		"scripts":  [
			"background.js"
		],
		"persistent": false
	},

	"options_page": "options.html",

	"permissions": [
		"",
		"tabs",
		"storage"
	],

	"web_accessible_resources": [
		"content.css",
		"images/close.png",
		"images/help.png",
		"images/element-mode-toggle.png",
		"images/arrow-up.png",
		"images/arrow-down.png",
		"images/arrow-left.png",
		"images/arrow-right.png",
		"images/dock-top.png",
		"images/dock-bottom.png",
		"images/help-white.png",
		"images/crosshair.png"
	],

	"content_security_policy": "script-src 'self' https://ssl.google-analytics.com; object-src 'self'",

	"browser_action": {
		"default_icon":   {
			"19": "images/19/browser_action.png",
			"38": "images/38/browser_action.png"
		},
		"default_title":  "__MSG_extName__"
	},

	"icons": {
		"16":	"icons/icon16.png",
		"48":	"icons/icon48.png",
		"128":	"icons/icon128.png"
	},

	"commands": {
		"_execute_browser_action": {
			"suggested_key": {
				"default": "Alt+P"
			}
		}
	}

}"

相关插件

更多