Skip to content

Commit 908500a

Browse files
committed
Remove the injected div in non-Chrome browsers
It looks like the change we made earlier to remove the injected div in every page didn't make it to any browser except Chrome. This adds the same logic to the Edge/Firefox manifest.json files and removes it completely from Safari. Note: Also cleaned up the Edge manifest.json to be a little more consistent with the other Web Extension-based browsers.
1 parent 3b503e7 commit 908500a

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

src/scripts/extensions/edge/manifest.json

+4-7
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@
33
"name": "OneNote Web Clipper",
44
"description": "__MSG_appDesc__",
55
"default_locale": "en",
6-
"version": "3.5.2.0",
7-
6+
"version": "3.5.2",
87
"background": {
9-
"page": "edgeExtension.html",
8+
"scripts": [ "edgeExtension.js" ],
109
"persistent": true
1110
},
1211

1312
"content_scripts": [{
14-
"matches": ["<all_urls>"],
13+
"matches": ["https://onenote.officeapps.live.com/*", "https://ppc-onenote.officeapps.live.com/*", "https://onenote.officeapps-df.live.com/*", "https://onenote.officeapps.live-int.com/*"],
1514
"js": ["appendIsInstalledMarker.js"],
1615
"run_at": "document_start",
1716
"all_frames": true
@@ -53,7 +52,5 @@
5352
"96": "icons/icon-96.png",
5453
"128": "icons/icon-128.png",
5554
"256": "icons/icon-256.png"
56-
},
57-
58-
"minimum_edge_version": "37.14316.1000.0"
55+
}
5956
}

src/scripts/extensions/firefox/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010

1111
"content_scripts": [{
12-
"matches": ["<all_urls>"],
12+
"matches": ["https://onenote.officeapps.live.com/*", "https://ppc-onenote.officeapps.live.com/*", "https://onenote.officeapps-df.live.com/*", "https://onenote.officeapps.live-int.com/*"],
1313
"js": ["appendIsInstalledMarker.js"],
1414
"run_at": "document_start",
1515
"all_frames": true

src/scripts/extensions/safari/Info.plist

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
<dict>
4343
<key>Start</key>
4444
<array>
45-
<string>appendIsInstalledMarker.js</string>
4645
<string>safariDebugLoggingInject.js</string>
4746
<string>safariInject.js</string>
4847
<string>safariPageNavInject.js</string>

0 commit comments

Comments
 (0)