{
	"manifest_version": 2,

	"name": "Buttercup",
	"description": "Browser extension for Buttercup",
	"version": "0.0.0",

	"browser_action": {
		"default_icon": "resources/buttercup-256.png",
		"default_popup": "popup.html#/"
	},

	"icons": {
        "256": "resources/buttercup-256.png",
		"128": "resources/buttercup-128.png",
		"48": "resources/buttercup-48.png",
        "16": "resources/buttercup-16.png"
	},

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

	"content_scripts" : [
		{
			"matches": ["http://*/*", "https://*/*"],
			"js": ["tab.js"]
		}
	],

	"permissions": [
		"activeTab",
		"http://*/*",
		"https://*/*",
		"tabs",
        "contextMenus"
	],

	"commands": {
		"login-with-first-credentials":{
			"suggested_key": {
				"default": "Ctrl+Shift+L",
				"mac": "Command+Shift+L"
			},
			"description": "Login using first matching credentials"
		}
	}

}

{
	"manifest_version": 2,

	"name": "Buttercup",
	"description": "Browser extension for Buttercup",
	"version": "0.0.0",

	"browser_action": {
		"default_icon": "resources/buttercup-256.png",
		"default_popup": "popup.html#/"
	},

	"icons": {
        "256": "resources/buttercup-256.png",
		"128": "resources/buttercup-128.png",
		"48": "resources/buttercup-48.png",
        "16": "resources/buttercup-16.png"
	},

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

	"content_scripts" : [
		{
			"matches": ["http://*/*", "https://*/*"],
			"js": ["tab.js"]
		}
	],

	"permissions": [
		"activeTab",
		"http://*/*",
		"https://*/*",
		"tabs",
        "contextMenus"
	],

	"commands": {
		"login-with-first-credentials":{
			"suggested_key": {
				"default": "Ctrl+Shift+L",
				"mac": "Command+Shift+L"
			},
			"description": "Login using first matching credentials"
		}
    },
    
    "web_accessible_resources": [
        "dialog.html",
        "dialog.js",
        "resources/*"
    ]

}

Add dialog page to web accessible resources
Add dialog page to web accessible resources
