Skip to content

Commit

Permalink
update for https miniaturemarket and gamesurplus. update selector for…
Browse files Browse the repository at this point in the history
… game surplus.
  • Loading branch information
Matthew Cross committed Sep 7, 2017
1 parent af1e8ba commit 6108b79
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

"name": "Find on Boardgamegeek",
"description": "Find a game on Boardgamegeek",
"version": "1.0",
"version": "1.1",

"browser_action": {
"default_icon": "icon.png",
Expand All @@ -26,14 +26,14 @@
]
},
{
"matches": ["http://www.miniaturemarket.com/*"],
"matches": ["https://www.miniaturemarket.com/*"],
"js": [
"scripts/content_scripts/content_script.js",
"scripts/content_scripts/miniature_market.js"
]
},
{
"matches": ["http://www.gamesurplus.com/*"],
"matches": ["https://www.gamesurplus.com/*"],
"js": [
"scripts/content_scripts/content_script.js",
"scripts/content_scripts/game_surplus.js"
Expand Down
2 changes: 1 addition & 1 deletion scripts/content_scripts/game_surplus.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
function locateGameNameElement() {
return extractFirstMatchingElement(document.querySelectorAll('#prod_info_head'));
return extractFirstMatchingElement(document.querySelectorAll('h3.product_title'));
}

0 comments on commit 6108b79

Please sign in to comment.