This isn't going to do the job you want, but may help you explore another avenue.
I created an Open in Chrome macro, which I use for certain links (I have a preference for Safari, but I handle all Google-related links separately in Chrome.)
When the mouse is left hovering over a link, the hot key ^G will copy and open that link in Chrome. Finder is treated as an exception, and allows Google documents to be opened in Chrome.
Open in Chrome.kmmacros (22.7 KB)
We had a bit of a discussion about this approach here, which may also give you some ideas?