Make it work in new tabs