- commit
- 221f3859675e4a6c016eb82923e9b009bfe47e8b
- parent
- 427f8762d79e511bd833c8e6a2b62300beb71c40
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-07-24 07:15
change browserAction to action
Diffstat
| M | bg.js | 2 | +- |
| M | manifest.json | 4 | ++-- |
2 files changed, 3 insertions, 3 deletions
diff --git a/bg.js b/bg.js
@@ -30,7 +30,7 @@ var injectCode = function(tab) {
30 30 ]);
31 31 };
32 32
33 -1 chrome.browserAction.onClicked.addListener(function(tab) {
-1 33 chrome.action.onClicked.addListener(function(tab) {
34 34 injectCode(tab).then(() => {
35 35 chrome.tabs.sendMessage(tab.id, 'showA11yOutline');
36 36 });
diff --git a/manifest.json b/manifest.json
@@ -5,7 +5,7 @@ 5 5 "homepage_url": "https://github.com/xi/a11y-outline", 6 6 "description": "navigate page outlines easily", 7 7 "version": "1.6.1",8 -1 "browser_action": {-1 8 "action": { 9 9 "default_title": "A11y Outline", 10 10 "default_icon": "icon-128.png" 11 11 }, @@ -17,7 +17,7 @@ 17 17 "persistent": false 18 18 }, 19 19 "commands": {20 -1 "_execute_browser_action": {-1 20 "_execute_action": { 21 21 "suggested_key": { 22 22 "default": "Ctrl+Shift+7" 23 23 }