Skip to content

Commit ce875b0

Browse files
committed
using service worker now for background script so it works in manifest v3
1 parent 6219d63 commit ce875b0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

background.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
// background.js
1+
22
// Handles persistent messaging and storage for LeetCode Tracker
3+
importScripts('browser-polyfill.js');
34

45
// Listen for messages from content scripts
56
browser.runtime.onMessage.addListener((message, sender, sendResponse) => {

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 2,
33
"name": "KeepCode",
4-
"version": "0.4.1",
4+
"version": "0.4.1po",
55
"description": "Prep smarter for coding interviews! KeepCode tracks your LeetCode progress so you can focus on solving.",
66
"permissions": ["storage", "tabs", "activeTab", "https://leetcode.com/*"],
77
"background": {

0 commit comments

Comments
 (0)