Adrià Vilanova Martínez | 54fbad1 | 2022-01-04 03:39:04 +0100 | [diff] [blame] | 1 | // #!if browser_target == 'chromium_mv3' |
Adrià Vilanova Martínez | ac8c81b | 2023-06-19 18:05:26 +0200 | [diff] [blame] | 2 | export default typeof chrome !== 'undefined' ? chrome.action : undefined; |
Adrià Vilanova Martínez | 54fbad1 | 2022-01-04 03:39:04 +0100 | [diff] [blame] | 3 | // #!else |
Adrià Vilanova Martínez | ac8c81b | 2023-06-19 18:05:26 +0200 | [diff] [blame] | 4 | export default typeof chrome !== 'undefined' ? chrome.browserAction : undefined; |
Adrià Vilanova Martínez | 54fbad1 | 2022-01-04 03:39:04 +0100 | [diff] [blame] | 5 | // #!endif |