Super! it's done.

port code from https://github.com/gamerh2o/shanbay-chromium-extension