|
|
720a291388
|
leechblock: switch defaults to gist JSON, seed LevelDB directly, block unsupported browsers
- Replace leechblock_defaults.js with LeechBlockOptions.json fetched from
private gist (30 block sets, 1568 keys)
- Add seed_leechblock_storage.js: writes settings directly into Chrome's
LevelDB via classic-level, bypassing content-verification entirely
- Supports both .json and legacy .js defaults files
- Chunked writes (individual db.put) to avoid batch size limits
- Per-profile error isolation; Thorium LevelDB warning demoted to non-fatal
- Add package.json (type:module + classic-level dep) and .gitignore for
node_modules
- install_leechblock.sh: drop background.js patching, call seeder instead;
auto-installs classic-level if node_modules absent
- install_pacman_wrapper.sh: deploy .json defaults, seeder, and package.json
to /usr/local/share/digital_wellbeing; run npm install there
- pacman_blocked_keywords.txt: add browsers not handled by install script
(Microsoft Edge family, firefox-esr/nightly, opera-beta/dev,
iridium, slimjet, chromium-dev, qutebrowser, midori)
|
2026-02-23 22:00:31 +01:00 |
|
|
|
09e85cd914
|
feat: LeechBlock default config, Chrome repo, nsswitch fixes, extended checker
- Add leechblock_defaults.js with pre-configured blocking rules matching
hosts/install.sh (YouTube, food delivery, fast food — 3 block sets)
- install_leechblock.sh: switch to LeechBlockNG-chrome repo, download
jQuery UI, inject defaults.js into extension, patch background.js to
seed storage on first run, replace browser binary in-place
- remove_guest_mode.sh: fix associative array key spacing
- enforce-nsswitch.sh: handle 'resolve' without 'dns' in emergency fix
- setup_hosts_guard.sh: ensure 'files' in nsswitch hosts line before
snapshotting, remove erroneous 'local' outside function
- check_and_enable_services.sh: extend from 5 to 12 services, add
nsswitch.conf validation and auto-fix
|
2026-02-20 20:24:13 +01:00 |
|