[init checkin] user chrome to disable wobbling icon on DRM enabled sites
This commit is contained in:
commit
2c47ad730d
4
find_profile_dir
Normal file
4
find_profile_dir
Normal file
@ -0,0 +1,4 @@
|
||||
about:profiles
|
||||
|
||||
profile default / "root dir"
|
||||
something like /home/luket/.mozilla/firefox/3ob08mma.default
|
14
link
Executable file
14
link
Executable 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
5
userChrome.css
Normal 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;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user