From 2c47ad730d9b7938b030cf2b90b54e928dab1c88 Mon Sep 17 00:00:00 2001 From: Luke Tidd Date: Mon, 31 Mar 2025 15:11:23 -0400 Subject: [PATCH] [init checkin] user chrome to disable wobbling icon on DRM enabled sites --- find_profile_dir | 4 ++++ link | 14 ++++++++++++++ userChrome.css | 5 +++++ 3 files changed, 23 insertions(+) create mode 100644 find_profile_dir create mode 100755 link create mode 100644 userChrome.css diff --git a/find_profile_dir b/find_profile_dir new file mode 100644 index 0000000..072e18d --- /dev/null +++ b/find_profile_dir @@ -0,0 +1,4 @@ +about:profiles + +profile default / "root dir" +something like /home/luket/.mozilla/firefox/3ob08mma.default diff --git a/link b/link new file mode 100755 index 0000000..199ec0b --- /dev/null +++ b/link @@ -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 diff --git a/userChrome.css b/userChrome.css new file mode 100644 index 0000000..e260798 --- /dev/null +++ b/userChrome.css @@ -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; +}