Skip to content

Commit f8b40c4

Browse files
authored
Merge pull request #11 from AlexInABox/dev
fix window not existing on chrome outside of tabs
2 parents c6a88ff + e11cec2 commit f8b40c4

File tree

3 files changed

+172
-181
lines changed

3 files changed

+172
-181
lines changed

platform/chromium/manifest.json

+7-21
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,22 @@
11
{
22
"name": "CursorConnect",
3-
"version": "0.2.4",
3+
"version": "0.2.5",
44
"description": "Real-time cursor interaction for a more connected browsing experience.",
5-
"permissions": [
6-
"storage",
7-
"activeTab",
8-
"webNavigation"
9-
],
5+
"permissions": ["storage", "activeTab", "webNavigation"],
106
"background": {
117
"service_worker": "serviceWorker.js"
128
},
139
"content_scripts": [
1410
{
15-
"matches": [
16-
"http://*/*",
17-
"https://*/*"
18-
],
19-
"js": [
20-
"contentScript.js"
21-
],
11+
"matches": ["http://*/*", "https://*/*"],
12+
"js": ["contentScript.js"],
2213
"run_at": "document_start"
2314
}
2415
],
2516
"web_accessible_resources": [
2617
{
27-
"resources": [
28-
"assets/cursor.png",
29-
"customization/*.png"
30-
],
31-
"matches": [
32-
"*://*/*"
33-
]
18+
"resources": ["assets/cursor.png", "customization/*.png"],
19+
"matches": ["*://*/*"]
3420
}
3521
],
3622
"action": {
@@ -49,4 +35,4 @@
4935
"128": "assets/icon128.png"
5036
},
5137
"manifest_version": 3
52-
}
38+
}

platform/firefox/manifest.json

+37-53
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,38 @@
11
{
2-
"name": "CursorConnect",
3-
"version": "0.2.4",
4-
"description": "Real-time cursor interaction for a more connected browsing experience.",
5-
"browser_specific_settings": {
6-
"gecko": {
7-
8-
"strict_min_version": "109.0"
9-
}
10-
},
11-
"permissions": [
12-
"storage",
13-
"activeTab",
14-
"webNavigation"
15-
],
16-
"background": {
17-
"scripts": [
18-
"serviceWorker.js"
19-
]
20-
},
21-
"content_scripts": [
22-
{
23-
"matches": [
24-
"http://*/*",
25-
"https://*/*"
26-
],
27-
"js": [
28-
"contentScript.js"
29-
],
30-
"run_at": "document_start"
31-
}
32-
],
33-
"web_accessible_resources": [
34-
{
35-
"resources": [
36-
"assets/cursor.png",
37-
"customization/*.png"
38-
],
39-
"matches": [
40-
"*://*/*"
41-
]
42-
}
43-
],
44-
"action": {
45-
"default_popup": "popup.html",
46-
"default_icon": {
47-
"16": "assets/icon16.png",
48-
"32": "assets/icon32.png",
49-
"48": "assets/icon48.png",
50-
"128": "assets/icon128.png"
51-
}
52-
},
53-
"manifest_version": 3
54-
}
2+
"name": "CursorConnect",
3+
"version": "0.2.5",
4+
"description": "Real-time cursor interaction for a more connected browsing experience.",
5+
"browser_specific_settings": {
6+
"gecko": {
7+
8+
"strict_min_version": "109.0"
9+
}
10+
},
11+
"permissions": ["storage", "activeTab", "webNavigation"],
12+
"background": {
13+
"scripts": ["serviceWorker.js"]
14+
},
15+
"content_scripts": [
16+
{
17+
"matches": ["http://*/*", "https://*/*"],
18+
"js": ["contentScript.js"],
19+
"run_at": "document_start"
20+
}
21+
],
22+
"web_accessible_resources": [
23+
{
24+
"resources": ["assets/cursor.png", "customization/*.png"],
25+
"matches": ["*://*/*"]
26+
}
27+
],
28+
"action": {
29+
"default_popup": "popup.html",
30+
"default_icon": {
31+
"16": "assets/icon16.png",
32+
"32": "assets/icon32.png",
33+
"48": "assets/icon48.png",
34+
"128": "assets/icon128.png"
35+
}
36+
},
37+
"manifest_version": 3
38+
}

0 commit comments

Comments
 (0)