This tool acts like an MDM accessibility filter: you can add watched words or combinations of words, and if the screen detects them, it automatically jumps out (e.g., to block AI-related content in messages).
If you have useful combinations, please contribute to the online database! Name your file something like “block_ai_in_messages__by_@ars18.json” and submit a pull request—all users will then have the option to import and activate it.
Screenshots
I’ve also included optional MDM functionality if you want to fully “kasher” the device (make it compliant with filtering needs). It keeps things basic—no advanced features yet.
MDM Screenshot
You can contribute by creating new JSON files and pushing them to my GitHub repo. Can’t wait to see this project grow—it’s a lightweight, effective filtering method!
No need to do the below if you go the pull request route.
If anyone wants a remote updater, create the file on your server/GitHub page, and use some variation of the script below. App must be force stopped and restarted to show changes.
Will update every six hours. Can pair it with a .rc
This is a variation of the blocked numbers DB script.
#!/system/bin/sh
while true; do
URL="https://github.com/alltechdev/alltech.dev/raw/refs/heads/main/blocked_combinations.xml"
TMP_XML="/data/local/tmp/blocked_combinations.xml"
TARGET_XML="/data/data/com.tripleu.webnoview/shared_prefs/blocked_combinations.xml"
# Download the updated XML
wget -O "$TMP_XML" "$URL"
# Check that the file exists and is not empty or damaged
if [ -f "$TMP_XML" ] && [ "$(stat -c%s "$TMP_XML")" -gt 128 ]; then
# Determine correct UID:GID from existing file or its directory
if [ -f "$TARGET_XML" ]; then
OWNER=$(stat -c '%u:%g' "$TARGET_XML")
else
OWNER=$(stat -c '%u:%g' "$(dirname "$TARGET_XML")")
fi
# Replace the target XML
cp "$TMP_XML" "$TARGET_XML"
chown "$OWNER" "$TARGET_XML"
chmod 660 "$TARGET_XML"
fi
sleep 21600 # sleep for 6 hours
done