Make python plugin compatible with chrome