[init checkin] user chrome to disable wobbling icon on DRM enabled sites

This commit is contained in:
LuKe Tidd 2025-03-31 15:11:23 -04:00
commit 2c47ad730d
Signed by: luke
GPG Key ID: 75D6600BEF4E8E8F
3 changed files with 23 additions and 0 deletions

4
find_profile_dir Normal file
View File

@ -0,0 +1,4 @@
about:profiles
profile default / "root dir"
something like /home/luket/.mozilla/firefox/3ob08mma.default

14
link Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
here="$(pwd)"
if [[ ! "$here" =~ custom_firefox$ ]]; then
printf 'I dunno where I am\n' >&2
exit 1
fi
find "${HOME}/.mozilla/firefox" -maxdepth 1 -type d -name '*.default' \
| while read dir; do
printf 'ln -fs "%s/userChrome.css" "%s"\n' "$here" "$dir"
ln -fs "${here}/userChrome.css" "$dir"
done

5
userChrome.css Normal file
View File

@ -0,0 +1,5 @@
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
#eme-notification-icon[firstplay=true] {
animation: none !important;
}