Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 568 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 568 Bytes

scrolltop-extension

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).

principle

use window.requestAnimationFrame or setTimeout.

window.requestAnimationFrame ? window.requestAnimationFrame(func) : setTimeout(func, 16)

download

tips

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.