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