BGG Button
Opens either BGG or user-selected vendor sites depending on what site you are currently on.
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 2,
"name": "BGG Button",
"short_name": "BGG Button",
"version": "2.2",
"version_name": "2.2",
"description": "Opens either BGG or user-selected vendor sites depending on what site you are currently on.",
"options_ui": {
"page": "options.html",
"chrome_style": true
},
"icons": {
"16": "bgg.png",
"48": "icon48.png",
"128": "icon128.png"
},
"permissions": [
"activeTab",
"tabs",
"contextMenus",
"*://*.coolstuffinc.com/p/*",
"*://*.miniaturemarket.com/*",
"*://*.boardgamegeek.com/*",
"cookies",
"declarativeContent",
"storage"
],
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"jquery-3.2.1.min.js",
"content.js"
]
}
],
"page_action": {
"default_icon": "bgg.png"
},
"background": {
"scripts": [
"background.js"
]
}
}