diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2024-10-23 20:32:57 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2024-10-23 20:50:23 +0800 |
| commit | 81e075ffea3db9f4bd7773189fa624fd0feb096f (patch) | |
| tree | 6cb9a2d1ad96ddc082939bd80b59d247b4218a93 /addon | |
| parent | df606a1f7bcb32747085972b740c6685ffabcb71 (diff) | |
style: standardjs
Diffstat (limited to 'addon')
| -rw-r--r-- | addon/background.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/addon/background.js b/addon/background.js index 42e0c8d..6c007e5 100644 --- a/addon/background.js +++ b/addon/background.js | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | console.log('background') | ||
| 2 | |||
| 3 | browser.contextMenus.create( | 1 | browser.contextMenus.create( |
| 4 | { | 2 | { |
| 5 | id: 'map-inline-add', | 3 | id: 'map-inline-add', |
| 6 | title: 'Add Links and Maps by content', | 4 | title: 'Add Links and Maps by content', |
| 7 | contexts: ['page'], | 5 | contexts: ['page'], |
| 8 | }, | 6 | }, |
| 9 | () => void browser.runtime.lastError, | ||
| 10 | ) | 7 | ) |
| 11 | 8 | ||
| 12 | browser.contextMenus.create( | 9 | browser.contextMenus.create( |