您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
为页面添加按钮,平滑的滚动到顶部/底部
当前为
在页面右边添加【回到顶部】【去到底部的按钮】
脚本特点:
1,并非duang的一下,立刻达到顶部或底部,而是变加速
2,不用时,会自动移动到浏览器最右边,指向原来位置,可以还原位置
3,并没有外部链接,安全食用
4,页面没有滚动条时候,并不会显示,当窗口大小改变出现滚动条时,按钮也出现。
ps:chrome和firefox下测试正常。如果异常,请尝试升级浏览器。
add 2 bottons in the page which can 【goTop】 and 【goBtm】
Script Feature:
1,it's not reached the top or bottom immediately , but rather accelerate change(Smooth)
2, it will automatically hide to the right, point to the original location, it will restore location
3,And there is no external links, safe to eat
4, when the page does not scroll, and will not show when the window is resized when scroll bars , buttons also appear.
ps:chrome and firefox under test is normal. If the exception, try upgrading your browser.
2015.6.4更新
更漂亮,更好用
把原来的【顶部】【底部】字样去掉,换上【↑】【↓】的字符
现在两按钮的【移出边界】和【移入页面】不在有"duang"一下的反弹;
精简了代码
以及一些细微的更新。
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址