You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The page script needs to post a message to the service worker instead of directly calling code meant to only run in the background with access to the Chrome extension api.
To fix this, send a message to the service worker with the current page's DesignProject info as JSON. Listen for that message in the service worker, save the DesignProject data and re-use it for all future heartbeats sent for the current tab.
The text was updated successfully, but these errors were encountered:
browser-wakatime/src/wakatimeScript.ts
Line 60 in 7d4fb6b
The page script needs to post a message to the service worker instead of directly calling code meant to only run in the background with access to the Chrome extension api.
To fix this, send a message to the service worker with the current page's
DesignProject
info as JSON. Listen for that message in the service worker, save theDesignProject
data and re-use it for all future heartbeats sent for the current tab.The text was updated successfully, but these errors were encountered: