You’ll want this script.
Shameless self-promotion, but this post has a lot of stuff on useful classical userscripts (and other stuff too!):