installation instruction

This commit is contained in:
Er2 2022-03-21 11:36:14 +03:00
parent 81fc1a5528
commit 8bd89a9f0c
2 changed files with 25 additions and 6 deletions

View file

@ -29,7 +29,7 @@ button[class*="followButton-"],
/*button[class*="emojiItemDisabled-"],*/
div[class*="premium"],
div[id*="premium"],
div[role="separator"],
div[role="separator"]:not([id$="new-messages-bar"]),
div[class*="goal"],
div[class^="welcomeCTA-"],
h2[class^="privateChannelsHeaderContainer"],

View file

@ -5,20 +5,39 @@ Currently it's in beta, more of design was merged into css.
* Installation
Instruction for Firefox (may be working on Chrome with some changes).
** Firefox
Release mode:
1. Run ./makeext.sh (if on Linux or macOS).
0. (To make own) Run ./makeext.sh (if on Linux or macOS).
Or just pack all files as zip into ~diskort.xpi~
1. Create own (step 0) or download [[https://gitdab.com/er2/diskort/releases][from releases]] (~diskort.xpi~).
2. Go to ~about:config~ and set ~xpinstall.signatures.required~ to ~false~
3. Install extension (via ~about:addons~, drag&drop to browser, etc.).
Debug mode:
1. Clone or unpack downloaded zip archive (easily finds).
2. Go to ~about:debugging#/runtime/this-firefox~
1. Download [[https://gitdab.com/er2/diskort/archive/v2.0.zip][dev tag archive]] and unpack it.
2. Copy btfl.css from ~main~ branch ([[https://gitdab.com/er2/diskort/raw/branch/main/btfl.css][here]]).
3. Go to ~about:debugging#/runtime/this-firefox~
3. Click on *Load Temponary Add-on...*
4. Choose any file in extension's folder.
4. Choose any file in extension folder.
** Chrome, etc.
Release mode:
1. Go to ~chrome://extensions/~
2. Enable ~Developer mode~.
3. Create own (~Pack extension~) or download [[https://gitdab.com/er2/diskort/releases][from releases]].
4. Drag and drop ~diskort.crx~ to browser.
Debug mode:
1. Download [[https://gitdab.com/er2/diskort/archive/v2.0.zip][dev tag archive]] and unpack it.
2. Copy btfl.css from ~main~ branch ([[https://gitdab.com/er2/diskort/raw/branch/main/btfl.css][here]]).
3. Go to ~chrome://extensions/~
3. Enable ~Developer mode~.
4. Click on ~Load unpacked~ and choose extension folder.