Thanks, Jeff. I edited the top post to link your workaround, so people could find it easier.
I’ve been using it on my work laptop (ubuntu/winXP dual) for a while and it works with my hardware.
Edit: three OSes and two browsers, works fine. As long as BB/discourse doesn’t do any real pop-ups I’m happy!