BGG Button

Opens either BGG or user-selected vendor sites depending on what site you are currently on.

什么是BGG Button?

BGG Button是由aiden7690开发的Chrome扩展程序,该扩展的主要功能是“Opens either BGG or user-selected vendor sites depending on what site you are currently on.”。

下载BGG Button扩展crx文件

下载BGG Button扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        If you are looking at a board game on CoolStuffInc.com or MiniatureMarket.com, clicking the extension icon will open a new *tab* with the BoardGameGeek page for the board game you are currently looking at.  If the extension is unable to find a match at BGG, a new tab will open with a search for the game (which will most likely have no results, but  at least you'll be able to quickly search for the game.)

New Feature! - Now, if you are looking at a board game on BGG, clicking the extension icon will open a new *Window* with tabs corresponding to your preferred vendor sites, selected from the Options page.  On the options page, you can select any/all of the available sites and the extension will save your selection.  The exact game page for the game you are looking at will not open, rather a search on the selected vendor site will.  The options page should automatically open the first time you install the extension; to access it again at any time, simply right click on the extension icon and select "Options".    

Example:  I selected CSI and MM as my preferred vendor sites.  While looking at the board game Agricola on BGG, click the extension icon will open a new window with two tabs.  The tabs will be search results for the game at CSI and MM, respectively.  

Currently, the button only works while you are on CSI or MM.  However, this extension provides an additional search functionality that works from anywhere.  By highlighting any string of text (ideally board game titles) on a webpage and right clicking, you will now be presented with the option to search BGG directly.  This will open a new tab with a BGG search of your selected text.    

*Version 1.0 - 1/3/2018
*This is my very first attempt at creating an extension.  I have almost no coding experience at all and am fumbling my way through this.  The code is probably terrible, and it won't work for every game page at CSI/MM.  But, I got it to the point that it actually works for some/most games.
*I'd like to thank reddit user /u/ThPerfectDrug77 for encouraging me to, and providing the means to upload this extension so that others can use it. 

*Version 2.0 - 1/23/2018
*Added new features explained in description.

*Version 2.1/2.2 - 1/23/2018
*Minor bug fixes.                    

扩展基本信息

名称 BGG Button BGG Button
ID cgfnoppknnnoifoobppgpobidighdiah
官方URL https://chromewebstore.google.com/detail/bgg-button/cgfnoppknnnoifoobppgpobidighdiah
简介 Opens either BGG or user-selected vendor sites depending on what site you are currently on.
文件大小 417 KB
安装次数 28
当前版本 2.2
更新时间 2018-01-23
上架时间 2018-01-23
评分 5.00/5 共1次评分
开发者 aiden7690
付费类型 free
支持的语言 en-US
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": [
                ""
            ],
            "js": [
                "jquery-3.2.1.min.js",
                "content.js"
            ]
        }
    ],
    "page_action": {
        "default_icon": "bgg.png"
    },
    "background": {
        "scripts": [
            "background.js"
        ]
    }
}