aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorstrafe <[email protected]>2024-11-29 00:40:40 +0000
committerstrafe <[email protected]>2024-11-29 00:40:40 +0000
commit19ccb5e9e9fc7577d73ac73f522cbe698edf52f5 (patch)
tree6baf2b678984a3cd7b8845d592d1b168245be315
parent46b8c41db7609f835a2ddfa24cc62f5e85e525bb (diff)
downloadSponsorBlock-19ccb5e9e9fc7577d73ac73f522cbe698edf52f5.tar.gz
SponsorBlock-19ccb5e9e9fc7577d73ac73f522cbe698edf52f5.zip
Respect iOS/macOS accent color by using a monochrome toolbar icon for Safari
-rw-r--r--manifest/safari-manifest-extra.json10
-rw-r--r--public/icons/SafariIconSponsorBlocker128px.pngbin0 -> 6829 bytes
-rw-r--r--public/icons/SafariIconSponsorBlocker16px.pngbin0 -> 3139 bytes
-rw-r--r--public/icons/SafariIconSponsorBlocker32px.pngbin0 -> 3536 bytes
-rw-r--r--public/icons/SafariIconSponsorBlocker64px.pngbin0 -> 4673 bytes
5 files changed, 9 insertions, 1 deletions
diff --git a/manifest/safari-manifest-extra.json b/manifest/safari-manifest-extra.json
index 902381c9..5447e629 100644
--- a/manifest/safari-manifest-extra.json
+++ b/manifest/safari-manifest-extra.json
@@ -4,5 +4,13 @@
},
"optional_permissions": [
"webNavigation"
- ]
+ ],
+ "browser_action": {
+ "default_icon": {
+ "16": "icons/SafariIconSponsorBlocker16px.png",
+ "32": "icons/SafariIconSponsorBlocker32px.png",
+ "64": "icons/SafariIconSponsorBlocker64px.png",
+ "128": "icons/SafariIconSponsorBlocker128px.png"
+ }
+ }
}
diff --git a/public/icons/SafariIconSponsorBlocker128px.png b/public/icons/SafariIconSponsorBlocker128px.png
new file mode 100644
index 00000000..9924235e
--- /dev/null
+++ b/public/icons/SafariIconSponsorBlocker128px.png
Binary files differ
diff --git a/public/icons/SafariIconSponsorBlocker16px.png b/public/icons/SafariIconSponsorBlocker16px.png
new file mode 100644
index 00000000..c91a86bd
--- /dev/null
+++ b/public/icons/SafariIconSponsorBlocker16px.png
Binary files differ
diff --git a/public/icons/SafariIconSponsorBlocker32px.png b/public/icons/SafariIconSponsorBlocker32px.png
new file mode 100644
index 00000000..8f826a8c
--- /dev/null
+++ b/public/icons/SafariIconSponsorBlocker32px.png
Binary files differ
diff --git a/public/icons/SafariIconSponsorBlocker64px.png b/public/icons/SafariIconSponsorBlocker64px.png
new file mode 100644
index 00000000..a55371e4
--- /dev/null
+++ b/public/icons/SafariIconSponsorBlocker64px.png
Binary files differ