Working version, chrome independent.