Make it work in Safari+plugin