(req, res)
| 1 | import type { PlasmoMessaging } from "@plasmohq/messaging" |
| 2 | |
| 3 | const handler: PlasmoMessaging.MessageHandler = async (req, res) => { |
| 4 | const { url } = req.body |
| 5 | |
| 6 | chrome.tabs.create({ url: `/tabs/${url}` }) |
| 7 | } |
| 8 | |
| 9 | export default handler |
nothing calls this directly
no outgoing calls
no test coverage detected