A chrome extension what one-click scroll to the top of the page, for some SX pages that don't have a top button. If you don't know CMD +(top/down).
use window.requestAnimationFrame or setTimeout.
window.requestAnimationFrame ? window.requestAnimationFrame(func) : setTimeout(func, 16)
If you want to publish the plugin to the Google app market, you need money, so here you need to download the CTX file, unzip it and use it.