begin converting WakatimeCore
This commit is contained in:
13
src/devtools.ts
Normal file
13
src/devtools.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
// // Create a connection to the background page
|
||||
// const backgroundPageConnection = browser.runtime.connect({
|
||||
// name: 'devtools-page',
|
||||
// });
|
||||
|
||||
// // Send a message to background page with the current active tabId
|
||||
// backgroundPageConnection.postMessage({
|
||||
// name: 'init',
|
||||
// tabId: browser.devtools.inspectedWindow.tabId,
|
||||
// });
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
||||
browser.devtools.panels.create('Wakatime', 'test.png', 'WakatimeDevPanel.html');
|
||||
Reference in New Issue
Block a user