Make it also work in Chrome. More or less...