Cardmarket Assistant
Modifies the DOM on cardmarket.com to improve the UX through quality of life additions. It can also take your ManaBox collection's csv to further offer more functionality.
Additional files are visible only to premium users
manifest.json
{
"manifest_version": 2,
"name": "Cardmarket Assistant",
"version": "1.3.1",
"description": "An Add-On to enhance the user experience on cardmarket",
"background": {
"scripts": [
"background_scripts/background.js"
],
"persistent": true
},
"browser_action": {
"default_icon": {
"32": "images/geschaft-32.png"
},
"default_title": "Cardmarket Assistant",
"default_popup": "html/popup.html"
},
"icons": {
"16": "images/geschaft.png",
"32": "images/geschaft-32.png"
},
"permissions": [
"storage",
"activeTab",
"https://api.scryfall.com/",
"https://mtgtop8.com/search"
],
"web_accessible_resources": [
"scryfall_data.json",
"html/popup.html"
],
"content_security_policy": "script-src 'self'; object-src 'self'",
"content_scripts": [
{
"matches": [
"https://www.cardmarket.com/*/Magic/Orders/*"
],
"js": [
"lib/papaparse.min.js",
"js/upload-csv.js",
"js/scryfall.js",
"js/get-thumbnail.js",
"js/orders.js"
]
},
{
"matches": [
"https://www.cardmarket.com/*/Magic/Wants/*/AddDeckList"
],
"js": [
"lib/papaparse.min.js",
"js/upload-csv.js",
"js/wantslist_import.js"
]
},
{
"matches": [
"https://www.cardmarket.com/*/Magic/Wants/*"
],
"exclude_matches": [
"https://www.cardmarket.com/*/Magic/Wants/*/AddDeckList"
],
"js": [
"js/wantslist_export.js"
]
},
{
"matches": [
"https://www.cardmarket.com/*/Magic/*/Offers/Singles*"
],
"js": [
"js/get-thumbnail.js",
"lib/papaparse.min.js",
"js/upload-csv.js",
"js/scryfall.js",
"js/defaults.js",
"js/offers-singles.js"
]
},
{
"matches": [
"https://www.cardmarket.com/*/Magic/Products/*"
],
"js": [
"lib/papaparse.min.js",
"js/upload-csv.js",
"js/scryfall.js",
"js/sell.js"
]
},
{
"matches": [
"https://www.cardmarket.com/*"
],
"exclude_matches": [
"https://www.cardmarket.com/*/Magic/*/Offers/Singles*",
"https://www.cardmarket.com/*/Magic/Wants/ShoppingWizard/Results*",
"https://www.cardmarket.com/*/Magic/Orders/*"
],
"js": [
"js/scryfall.js",
"js/get-thumbnail.js",
"js/show-thumbnail.js"
]
}
],
"browser_specific_settings": {
"gecko": {
"id": "{6b7ad442-dbee-4ef8-bc53-43af0e3de819}"
}
}
}