No; we generally have limited access to Chrome extensions. Only those which are approved by the company are permitted. Arbitrary userscripts wouldn't be possible in that framework.
Sounds like the sort of thing a userscript could probably handle
This is a textbook use case for a Vim macro.
We don't use Vim at work.
Well it could make your life way easier, I'd recommend trying it
Like I said, we don't use Vim at work.
If you did, it could help you with this exact problem.
It's installed by default on many operating systems (and easy to get hold of, otherwise)
It's installed by default on OSX, Ubuntu, and most non-windows operating systems.