Initial release: PokeRogue Type Effectiveness extension
Chrome/Firefox MV3 extension that shows move type effectiveness during PokeRogue battles. Features: - Auto-detects battle state via Phaser game bridge (MAIN world) - Shows effectiveness multiplier, base power, and physical/special category - Supports single and double battles - Manual type calculator mode as fallback - Draggable overlay with dark theme matching PokeRogue aesthetic - Settings popup with position, opacity, and display options - Complete Gen 6+ type chart (18 types) from PokeRogue source data - Type colors matching PokeRogue's own color scheme
This commit is contained in:
65
manifest.json
Normal file
65
manifest.json
Normal file
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"manifest_version": 3,
|
||||
"name": "PokeRogue Type Effectiveness",
|
||||
"version": "1.0.0",
|
||||
"description": "Shows move type effectiveness during PokeRogue battles. Displays multipliers, power, and category for each move against enemy Pokemon.",
|
||||
|
||||
"icons": {
|
||||
"16": "icons/icon-16.png",
|
||||
"32": "icons/icon-32.png",
|
||||
"48": "icons/icon-48.png",
|
||||
"128": "icons/icon-128.png"
|
||||
},
|
||||
|
||||
"action": {
|
||||
"default_icon": {
|
||||
"16": "icons/icon-16.png",
|
||||
"32": "icons/icon-32.png",
|
||||
"48": "icons/icon-48.png",
|
||||
"128": "icons/icon-128.png"
|
||||
},
|
||||
"default_popup": "popup/popup.html",
|
||||
"default_title": "PokeRogue Type Effectiveness"
|
||||
},
|
||||
|
||||
"permissions": ["storage", "activeTab"],
|
||||
|
||||
"host_permissions": [
|
||||
"https://pokerogue.net/*",
|
||||
"https://www.pokerogue.net/*"
|
||||
],
|
||||
|
||||
"background": {
|
||||
"service_worker": "service-worker.js"
|
||||
},
|
||||
|
||||
"content_scripts": [
|
||||
{
|
||||
"matches": ["https://pokerogue.net/*", "https://www.pokerogue.net/*"],
|
||||
"js": ["data/type-data.js", "content.js"],
|
||||
"css": ["overlay.css"],
|
||||
"run_at": "document_idle",
|
||||
"world": "ISOLATED"
|
||||
},
|
||||
{
|
||||
"matches": ["https://pokerogue.net/*", "https://www.pokerogue.net/*"],
|
||||
"js": ["game-bridge.js"],
|
||||
"run_at": "document_idle",
|
||||
"world": "MAIN"
|
||||
}
|
||||
],
|
||||
|
||||
"web_accessible_resources": [
|
||||
{
|
||||
"resources": ["icons/*"],
|
||||
"matches": ["https://pokerogue.net/*", "https://www.pokerogue.net/*"]
|
||||
}
|
||||
],
|
||||
|
||||
"browser_specific_settings": {
|
||||
"gecko": {
|
||||
"id": "pokerogue-type-effectiveness@vectry.tech",
|
||||
"strict_min_version": "109.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user