Skip to content

feat: update to manifest v3 - change local storage usage #119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
275 changes: 0 additions & 275 deletions source/background.js

This file was deleted.

102 changes: 52 additions & 50 deletions source/manifest.json
Original file line number Diff line number Diff line change
@@ -1,52 +1,54 @@
{
"name": "Xdebug helper",
"description": "Easy debugging, profiling and tracing extension for Xdebug",
"version": "1.6.1",
"author": "Mathijs Kadijk",

"manifest_version": 2,
"minimum_chrome_version": "20",
"permissions": [ "tabs", "*://*/*" ],
"icons": {
"16": "images/icon--16.png",
"48": "images/icon--48.png",
"128": "images/icon--128.png",
"256": "images/icon--256.png",
"512": "images/icon--256.png"
},

"options_page": "options.html",

"browser_action": {
"default_icon": "images/bug-gray.png",
"default_title": "Debugging, profiling & tracing disabled",
"default_popup" : "popup.html"
},
"content_scripts": [ {
"js": [ "content.js" ],
"matches": [ "*://*/*" ]
} ],
"background": {
"scripts": [ "background.js" ],
"persistent": false
},

"commands": {
"_execute_browser_action": {
"suggested_key": {
"default": "Ctrl+Shift+X",
"windows": "Ctrl+Shift+X",
"mac": "Command+Shift+X"
},
"description": "Open popup to toggle state"
},
"toggle_debug_action": {
"suggested_key": {
"default": "Alt+Shift+X",
"windows": "Alt+Shift+X",
"mac": "Alt+Shift+X"
},
"description": "Toggle between the debug states"
}
}
"name": "Xdebug helper",
"description": "Easy debugging, profiling and tracing extension for Xdebug",
"version": "1.6.1",
"author": "Mathijs Kadijk (and Wikando)",
"manifest_version": 3,
"minimum_chrome_version": "20",
"permissions": [
"tabs",
"storage"
],
"icons": {
"16": "images/icon--16.png",
"48": "images/icon--48.png",
"128": "images/icon--128.png",
"256": "images/icon--256.png",
"512": "images/icon--256.png"
},
"options_page": "options.html",
"content_scripts": [
{
"js": [
"content.js"
],
"matches": [
"*://*/*"
]
}
],
"background": {
"service_worker": "service_worker.js"
},
"commands": {
"toggle_debug_action": {
"suggested_key": {
"default": "Alt+Shift+X",
"windows": "Alt+Shift+X",
"mac": "Alt+Shift+X"
},
"description": "Toggle between the debug states"
}
},
"action": {
"default_icon": "images/bug-gray.png",
"default_title": "Debugging, profiling & tracing disabled",
"default_popup": "popup.html"
},
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self'"
},
"host_permissions": [
"*://*/*"
]
}
Loading