Giter Site home page Giter Site logo

sakuyaa / gm_scripts Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 1.0 50 KB

一些修改或原创的GM脚本,可能包含个人使用习惯

Home Page: https://greasyfork.org/zh-CN/users/21450

JavaScript 100.00%
greasemonkey-script gm-scripts firefox greasemonkey

gm_scripts's Introduction

gm_scripts by sakuyaa

在哔哩哔哩视频标题下方增加弹幕查看、下载和全弹幕下载功能,提供CC字幕原生下载/转换成SRT字幕下载

哔哩哔哩网站弹幕接口API存在以下限制:

  • 全弹幕下载需要用户登录
  • 由于网站API限制,连续使用全弹幕下载可能会提示API调用过于频繁,如果出现这种情况请过一段时间后再下载

将网页背景色改为护眼灰,需要配合browser.display.background_color;#DCDCDC使用

  • 该脚本将RGB值均高于215的网页元素的背景色改为护眼灰,分别将RGB三个值按比例压缩,使得原有不同颜色的网页背景色在改变之后可以进行区分
  • 一些网站没有指定背景颜色,则需要火狐改变默认背景色(默认白色),将browser.display.background_color的值改为#DCDCDC
  • 还有一些网站(如贴吧)直接将空白图作为背景颜色,fixNotGray()函数使用css将这些图片隐藏
  • 似乎有些网站加载很慢(在加载很多DOM节点),这时候可能会报该脚本可能正忙,或者已停止响应,不知道怎么解决:flushed:

鼠标在滚动条上移动即可滚动网页(也只能是网页右侧的滚动条),移动距离即为滚动条移动距离
修改自Mozest.com社区的脚本ScrollWithMouse.uc.js

百度贴吧按发帖时间(帖子ID)排序

  • 在贴吧头部帖子数右侧添加一个按发帖时间排序的按钮,点击进行排序
  • 只能将当前页面的帖子(置顶帖除外)按发帖时间排序

gm_scripts's People

Contributors

sakuyaa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

gitarpe

gm_scripts's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.