mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
1272278225
This commit ensures that the hook will properly be loaded on file urls when using chrome (this was already working in firefox). It is still necessary to check the "Allow access to file URLs" option in the extensions manager for this to work properly.
33 lines
772 B
JSON
33 lines
772 B
JSON
{
|
|
"name": "Owl devtools",
|
|
"version": "1.2.2",
|
|
"manifest_version": 3,
|
|
"description": "Chrome devtools extension for Odoo Owl framework",
|
|
"icons": {
|
|
"128": "assets/icon128.png"
|
|
},
|
|
"action": {
|
|
"default_icon": {
|
|
"128": "assets/icon_disabled128.png"
|
|
},
|
|
"default_title": "Owl devtools",
|
|
"default_popup": "popup_app/popup.html"
|
|
},
|
|
"permissions": ["scripting", "storage"],
|
|
"host_permissions": ["http://*/*", "https://*/*", "file://*"],
|
|
"content_security_policy": {
|
|
"script-src": "self",
|
|
"object-src": "self"
|
|
},
|
|
"background": {
|
|
"service_worker": "background.js"
|
|
},
|
|
"devtools_page": "devtools_app/devtools.html",
|
|
"content_scripts": [
|
|
{
|
|
"matches": ["<all_urls>"],
|
|
"js": ["content.js"]
|
|
}
|
|
]
|
|
}
|