Instantly share code, notes, and snippets.

Embed
What would you like to do?
#! /bin/sh
jq -c '[.selectedFilterLists[] as $selected | .availableFilterLists[$selected] | select(.hasRemoteURL == true) | .remoteURL]' \
$HOME/.mozilla/firefox/*.default/browser-extension-data/uBlock0@raymondhill.net/storage.js | xargs -0 \
gsettings set org.gnome.Epiphany adblock-filters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment