a11y-outline

web extension to navigate document outlines easily
git clone https://git.ce9e.org/a11y-outline.git

commit
095aa03e2dbba60fd4046647de7087104b39c4b4
parent
5e6acb8e6abefce6076c869be198ee735d044485
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2025-04-25 00:05
add 48px icon

hopefully fixes issue with non-transparent background in firefox

Diffstat

M Makefile 9 ++++++---
M manifest.chromium.json 1 +
M manifest.json 1 +

3 files changed, 8 insertions, 3 deletions


diff --git a/Makefile b/Makefile

@@ -1,8 +1,8 @@
    1    -1 a11y-outline.firefox.zip: manifest.json icon-128.png bg.js outline.js treeview.js outline.css vendor
   -1     1 a11y-outline.firefox.zip: manifest.json icon-48.png icon-128.png bg.js outline.js treeview.js outline.css vendor
    2     2 	rm -f $@
    3     3 	zip -r $@ $^
    4     4 
    5    -1 a11y-outline.chromium.zip: manifest.chromium.json icon-128.png bg.js outline.js treeview.js outline.css vendor
   -1     5 a11y-outline.chromium.zip: manifest.chromium.json icon-48.png icon-128.png bg.js outline.js treeview.js outline.css vendor
    6     6 	mkdir chromium
    7     7 	cp -r $^ chromium
    8     8 	cd chromium && mv manifest.chromium.json manifest.json && zip -r ../$@ *
@@ -12,8 +12,11 @@ vendor:
   12    12 	mkdir -p vendor
   13    13 	wget https://raw.githubusercontent.com/xi/aria-api/0.7.0/dist/aria.js -O vendor/aria.js
   14    14 
   -1    15 icon-48.png: icon.svg
   -1    16 	convert -resize 48x -background transparent $< $@
   -1    17 
   15    18 icon-128.png: icon.svg
   16    19 	convert -resize 128x -background transparent $< $@
   17    20 
   18    21 clean:
   19    -1 	rm -rf vendor icon-128.png a11y-outline.firefox.zip a11y-outline.chromium.zip
   -1    22 	rm -rf vendor icon-48.png icon-128.png a11y-outline.firefox.zip a11y-outline.chromium.zip

diff --git a/manifest.chromium.json b/manifest.chromium.json

@@ -10,6 +10,7 @@
   10    10     "default_icon": "icon-128.png"
   11    11   },
   12    12   "icons": {
   -1    13     "48": "icon-48.png",
   13    14     "128": "icon-128.png"
   14    15   },
   15    16   "background": {

diff --git a/manifest.json b/manifest.json

@@ -10,6 +10,7 @@
   10    10     "default_icon": "icon-128.png"
   11    11   },
   12    12   "icons": {
   -1    13     "48": "icon-48.png",
   13    14     "128": "icon-128.png"
   14    15   },
   15    16   "background": {