Skip to content

Commit 5b0d234

Browse files
fvirdiaFernando Virdia
andauthored
New icon (#3)
* Added support for changing the icon depending on whether PP is enabled or disabled * Adding new extension icon * version bump --------- Co-authored-by: Fernando Virdia <[email protected]>
1 parent 34062d9 commit 5b0d234

28 files changed

+94
-32
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11

22
# Change Log
33

4+
## [1.0.2] - 2025-02-12
5+
6+
### Added
7+
8+
- Extension icon now reflects whether Privacy Pass is in use or not.
9+
10+
### Changed
11+
12+
- Extension icon.
13+
14+
### Fixed
15+
416
## [1.0.1] - 2025-02-11
517

618
### Added

src/background.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ import {
33
time
44
} from './popup/utils.js'
55

6+
import {
7+
update_extension_icon
8+
} from './scripts/icon.js'
9+
610
import {
711
DOMAIN_PORT,
812
ONION_DOMAIN_PORT,

src/chrome_manifest.json

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,19 @@
22
"manifest_version": 3,
33
"name": "Kagi Privacy Pass",
44
"description": "Enables use of Privacy Pass to authenticate Kagi search.",
5-
"version": "1.0.1",
5+
"version": "1.0.2",
66
"action": {
77
"default_popup": "popup/popup.html",
8-
"default_icon": "images/icon-64.png"
8+
"default_icon": "images/icons/disabled/icon-64.png"
99
},
1010
"content_security_policy": {
1111
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self';"
1212
},
1313
"icons": {
14-
"16": "images/icon-16.png",
15-
"32": "images/icon-32.png",
16-
"48": "images/icon-48.png",
17-
"64": "images/icon-64.png",
18-
"96": "images/icon-96.png",
19-
"128": "images/icon-128.png",
20-
"256": "images/icon-256.png",
21-
"512": "images/icon-512.png"
14+
"16": "images/icons/enabled/icon-16.png",
15+
"32": "images/icons/enabled/icon-32.png",
16+
"64": "images/icons/enabled/icon-64.png",
17+
"128": "images/icons/enabled/icon-128.png"
2218
},
2319
"permissions": [
2420
"declarativeNetRequestWithHostAccess",

src/firefox_manifest.json

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,19 @@
22
"manifest_version": 3,
33
"name": "Kagi Privacy Pass",
44
"description": "Enables use of Privacy Pass to authenticate Kagi search.",
5-
"version": "1.0.1",
5+
"version": "1.0.2",
66
"action": {
77
"default_popup": "popup/popup.html",
8-
"default_icon": "images/icon-32.png"
8+
"default_icon": "images/icons/disabled/icon-64.png"
99
},
1010
"content_security_policy": {
1111
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self';"
1212
},
1313
"icons": {
14-
"16": "images/icon-16.png",
15-
"32": "images/icon-32.png",
16-
"48": "images/icon-48.png",
17-
"64": "images/icon-64.png",
18-
"96": "images/icon-96.png",
19-
"128": "images/icon-128.png",
20-
"256": "images/icon-256.png",
21-
"512": "images/icon-512.png"
14+
"16": "images/icons/enabled/icon-16.png",
15+
"32": "images/icons/enabled/icon-32.png",
16+
"64": "images/icons/enabled/icon-64.png",
17+
"128": "images/icons/enabled/icon-128.png"
2218
},
2319
"permissions": [
2420
"declarativeNetRequestWithHostAccess",

src/images/16x16.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/images/32x32.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/images/icon-128.png

-5.47 KB
Binary file not shown.

src/images/icon-16.png

-707 Bytes
Binary file not shown.

src/images/icon-256.png

-11.3 KB
Binary file not shown.

src/images/icon-32.png

-1.41 KB
Binary file not shown.

0 commit comments

Comments
 (0)