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 مع الأصدقاء لتثبيت الامتدادات بسهولة.

تعليمات استخدام التمديد

                        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"
        ]
    }
}