BGG Button

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

Что такое BGG Button?

BGG Button - это расширение Chrome, разработанное aiden7690, и его основная функция - "Opens either BGG or user-selected vendor sites depending on what site you are currently on.".

Скачать файл CRX расширения BGG Button

Скачайте файлы расширений 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"
        ]
    }
}