1
0
Fork 0
FF_arkenfox_user.js/UserJS_README.md

78 lines
1.3 KiB
Markdown
Raw Permalink Normal View History

2022-01-11 17:49:08 +01:00
# GIT ArkenFox
## MàJ repository
```
2022-11-17 14:00:15 +01:00
$ git fetch arkenfox; git tag --sort authordate | tail
$ rev="106.0"
$ git diff HEAD..${rev}
$ git merge ${rev}
2022-09-28 11:00:43 +02:00
$ git diff HEAD..arkenfox/master
$ git merge arkenfox/master
2022-11-17 14:00:15 +01:00
2022-04-11 10:12:03 +02:00
$ git push chapril
2022-01-11 17:49:08 +01:00
```
**Lien symbolique depuis le répertoire Mozilla**
```
$ cd ~/.mozilla/firefox/
$ ln -sf ~/dev_3rd/FF_arkenfox_user.js/user.js .
```
## Nettoyage
Important de nettoyer car certaines lignes peuvent avoir été retirées.
```
$ cd ~/.mozilla/firefox/abcdef12.profile
$ ~/dev_3rd/FF_arkenfox_user.js/prefsCleaner.sh
$ cd ..
```
2022-09-28 11:00:43 +02:00
Voir aussi `scratchpad-scripts/arkenfox-cleanup.js`
2022-01-11 17:49:08 +01:00
## Création
```
$ ~/dev_3rd/FF_arkenfox_user.js/updater.sh -lc
```
# Search
```
$ SUFFIX=$(kdialog --inputbox "Suffix" $(date +%Y-%m-%d)) \
&& TMP=$(mktemp) \
&& mozlz4a.py --decompress search.json.mozlz4 $TMP \
&& jq . --indent 2 $TMP > search_${SUFFIX}.json \
&& rm $TMP
```
# Archive
## Télécharger Arkenfox
Méthode alternative — au lieu d'utiliser GIT.
```
$ cd ~/.mozilla/firefox/
$ wget https://github.com/arkenfox/user.js/archive/refs/tags/86.0.tar.gz
$ mv 86.0.tar.gz user.js-86.0.tar.gz
$ tar xf user.js-86.0.tar.gz
$ DIR=$(echo user.js*(/om[1])) && ln -sf $DIR/user.js .
```
**Vérifications**
```
$ DIR=$(echo user.js*(/om[1])) && kdiff3 ~/dev_3rd/FF_arkenfox_user.js/updater.sh $DIR/updater.sh updater_local.sh
```