tried the code from the googlechrome githup page but it didn't work