Originally Posted by kiwidude
It definitely needs a solution of some kind...
I realized what it was doing. The developer of the overdrive link plugin that I linked to managed to implement a solution for his plugin. His plugin had the same problem. Examining his plugin might be able to give you insight into an existing solution.