mirror of
https://github.com/yusufipk/YouTubeOutlierBadge.git
synced 2026-09-11 10:56:14 +00:00
Drop the self-signing instructions from the READMEs
This commit is contained in:
@@ -21,31 +21,6 @@ are only processed once they scroll into view.
|
|||||||
`about:debugging#/runtime/this-firefox` → **Load Temporary Add-on** → the
|
`about:debugging#/runtime/this-firefox` → **Load Temporary Add-on** → the
|
||||||
`manifest.json` in this directory. It disappears when Firefox closes.
|
`manifest.json` in this directory. It disappears when Firefox closes.
|
||||||
|
|
||||||
## Installing it for good
|
|
||||||
|
|
||||||
Release Firefox refuses to permanently install an unsigned add-on. Getting it
|
|
||||||
signed is free and shows the extension to nobody:
|
|
||||||
|
|
||||||
1. Create an account at addons.mozilla.org/developers and grab a JWT issuer and
|
|
||||||
secret from **Manage API Keys**.
|
|
||||||
2. Sign the package (inside a container so npm never touches this directory):
|
|
||||||
|
|
||||||
```
|
|
||||||
podman run --rm -v "$(pwd)":/w:z -w /w docker.io/node:alpine \
|
|
||||||
npx --yes web-ext sign --channel=unlisted \
|
|
||||||
--api-key=JWT_ISSUER --api-secret=JWT_SECRET
|
|
||||||
```
|
|
||||||
|
|
||||||
3. Install the resulting `web-ext-artifacts/*.xpi` through `about:addons` → gear
|
|
||||||
icon → **Install Add-on From File**.
|
|
||||||
|
|
||||||
The signature is tied to the add-on id in `manifest.json`, so leave that id
|
|
||||||
alone. Every new signature needs a bumped `version`, and unlisted add-ons do not
|
|
||||||
auto-update: when you change the code you sign and install it again. If you would
|
|
||||||
rather skip signing altogether, Firefox Developer Edition and Nightly honour
|
|
||||||
`xpinstall.signatures.required = false` in `about:config`, but release Firefox
|
|
||||||
ignores that setting.
|
|
||||||
|
|
||||||
## Using it
|
## Using it
|
||||||
|
|
||||||
The toolbar icon opens the settings: turn badges off, skip Shorts, pick the
|
The toolbar icon opens the settings: turn badges off, skip Shorts, pick the
|
||||||
|
|||||||
@@ -19,31 +19,6 @@ işlenir.
|
|||||||
`about:debugging#/runtime/this-firefox` → **Geçici Eklenti Yükle** → bu dizindeki
|
`about:debugging#/runtime/this-firefox` → **Geçici Eklenti Yükle** → bu dizindeki
|
||||||
`manifest.json`. Firefox kapanınca kaybolur.
|
`manifest.json`. Firefox kapanınca kaybolur.
|
||||||
|
|
||||||
## Kalıcı kurulum
|
|
||||||
|
|
||||||
Normal Firefox imzasız eklentiyi kalıcı kurmaz. İmzalatmak ücretsiz ve eklentiyi
|
|
||||||
kimseye göstermez:
|
|
||||||
|
|
||||||
1. addons.mozilla.org/developers'da hesap aç, **Manage API Keys** sayfasından JWT
|
|
||||||
issuer ve secret al.
|
|
||||||
2. Paketi imzalat (npm bu dizine bir şey kurmasın diye kapsayıcı içinde):
|
|
||||||
|
|
||||||
```
|
|
||||||
podman run --rm -v "$(pwd)":/w:z -w /w docker.io/node:alpine \
|
|
||||||
npx --yes web-ext sign --channel=unlisted \
|
|
||||||
--api-key=JWT_ISSUER --api-secret=JWT_SECRET
|
|
||||||
```
|
|
||||||
|
|
||||||
3. Çıkan `web-ext-artifacts/*.xpi` dosyasını `about:addons` → dişli simgesi →
|
|
||||||
**Dosyadan eklenti yükle** ile kur.
|
|
||||||
|
|
||||||
İmza `manifest.json` içindeki eklenti kimliğine bağlı, o yüzden kimliği
|
|
||||||
değiştirme. Her yeni imza için `version` alanını artırman gerekir ve listelenmemiş
|
|
||||||
eklentiler otomatik güncellenmez: kodu değiştirdikçe imzalayıp yeniden kurarsın.
|
|
||||||
İmzayla uğraşmak istemezsen Firefox Developer Edition veya Nightly kurup
|
|
||||||
`about:config` içinde `xpinstall.signatures.required` değerini `false` yapmak da
|
|
||||||
çalışır, ama bu ayar normal Firefox'ta yok sayılır.
|
|
||||||
|
|
||||||
## Kullanım
|
## Kullanım
|
||||||
|
|
||||||
Araç çubuğundaki simge ayarları açar: rozetleri kapat, Shorts'u puanlama, baseline
|
Araç çubuğundaki simge ayarları açar: rozetleri kapat, Shorts'u puanlama, baseline
|
||||||
|
|||||||
Reference in New Issue
Block a user