| 1234567891011121314151617181920212223 |
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>Default Popup Title</title>
- <meta name="manifest.type" content="browser_action" />
- </head>
- <body>
- <div id="app"></div>
- <script>
- let timer = null
- chrome.runtime.onMessage.addListener(
- async (message, sender, sendResponse) => {
- // The callback for runtime.onMessage must return falsy if we're not sending a response
- if (message.type === 'updateSidePanel') sendResponse(111)
- return
- }
- )
- </script>
- <script type="module" src="./main.ts"></script>
- </body>
- </html>
|