best course seems to be to emulate the chrome plugin