Code Monkey home page Code Monkey logo

yuhanawa / userscript Goto Github PK

View Code? Open in Web Editor NEW
34.0 1.0 3.0 799 KB

搜索引擎(百度/必应/谷歌)优化美化\快速切换|哔哩哔哩(bilibili)美化\移除评论区关键字搜索蓝字|CSDN 增强\极简化\沉浸式阅读\免登录复制|推特屏蔽过滤器|黄推屏蔽器|GreasyFork脚本页面👇

Home Page: https://greasyfork.org/scripts?filter_locale=0&set=587291

License: GNU General Public License v3.0

JavaScript 78.86% CSS 2.06% Sass 9.70% HTML 9.37%
greasemonkey greasyfork script tampermonkey tampermonkey-script tampermonkey-userscript userscript bilibili csdn filter

userscript's Introduction

搜索引擎(百度/必应/谷歌)优化美化\快速切换|哔哩哔哩(bilibili)美化\视频快捷分享复制\移除评论区关键字搜索蓝字|CSDN 极简化\沉浸式阅读\免登录复制|推特屏蔽过滤器|黄推屏蔽器

很抱歉,最近在准备期末考试,没有时间进行更新 >︿< 因此,所有的bug和功能需要等到春节才能进行修复

开学了... 2024-2月

不出意外的话,明天将开始维护脚本 同时每个脚本将有一个独立的名称 2024-4-3 清明

可用脚本

支持功能

  • 样式美化 | 自定义背景
  • 视频页样式微调
    • 哔哩哔哩修改 UP 觉得很赞标签位置
  • 视频快捷复制分享 (4 种模式)
  • 移除评论关键字搜索图标
  • 移除评论关键字搜索跳转
  • 评论区过滤(自定义关键词未完成)
  • 页面宽屏
  • 护眼蒙版
  • 快捷键增强

TODO(随缘更新(?)):

  • 自动播放优化
  • 彩色弹幕褪色
  • 隐藏头部
  • 视频下载
  • 封面下载
  • 深色模式
  • 免登录复制
  • 样式美化|沉浸式阅读
    • 调整页面宽度
  • 移除顶部导航或不跟随
  • 隐藏底部工具栏或不跟随
  • 去广告
  • UI 调整
    • 每一个卡片都可以关闭
  • 调整字体大小
  • 自定义背景

TODO:

  • 专注模式(按钮,按下后全屏且仅显示文章内容)
  • 自定义屏蔽或过滤你不想看到推文(黄推,建政或某特定群体等)
  • 支持自定义屏蔽规则,导入第三方规则等
  • 自动更新规则(每日更新一次)

搜索引擎美化 | 切换工具

  • 搜索引擎优化美化净化
  • 搜索引擎快速切换工具
  • 搜索引擎自定义背景
  • 搜索引擎自定义字体
  • 搜索引擎半自定义搜索引擎
  • 搜索引擎快速聚焦搜索框 (Ctrl+[K|Q|S]) 模式:["清空","关闭", "选中", "聚焦"]

How to build

欢迎 PR

请确保已经安装 nodejs 和 pnpm

  1. 项目结构
  • lib
    • 依赖库
  • config-form
    • 设置网站源码
  • src
    • 脚本源码,每一个子文件夹为一个脚本,.开头的文件夹会被忽略
  • out
    • 构建结果输出目录
  • dev.js
    • 热更新所需要的脚本,见下文(4.热更新)
  1. 克隆此仓库
git clone https://github.com/Yuhanawa/UserScript.git
  1. 安装依赖
pnpm i
  1. 构建
pnpm build

构建结果在 out 文件夹中

  1. 热更新

修改dev.js中的{PATH} 为当前目录的绝对路径, 将此脚本添加到脚本管理器(Tampermonkey)中, 并打开脚本管理器[允许访问文件网址]权限

在 chrome 中, 你可以访问chrome://extensions/找到你的脚本管理器插件(Tampermonkey),点击详情, 打开允许访问文件网址选项

运行以下命令或者在 VSCode 中按 F5 运行

pnpm run dev

userscript's People

Contributors

github-actions[bot] avatar yuhanawa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

userscript's Issues

bili美化脚本功能建议

作者的几个脚本我都在用,csdn可以根据不同的内容选择屏蔽,bili脚本是否也能增加更丰富的自定义选项呢
主要是主页的综艺、直播等想要选择性屏蔽,现在的版本可以对广告进行屏蔽,应该也能对其他版块进行屏蔽吧
感谢🙏

copy

csdn把copy事件换绑到了pre元素

Unable to install

Latest Greasemonkey version (at the date of this report). Firefox Release 104.0.2. I tried installing both on Grease Fork and from the file on the repo

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.