• Stars
    star
    457
  • Rank 95,775 (Top 2 %)
  • Language
    TypeScript
  • License
    Other
  • Created about 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🚀去除各搜索引擎/常用网站的重定向

Build Status DeepScan grade 996.icu LICENSE

GM 脚本,反重定向

去除各搜索引擎/常用网站的重定向

注意事项:

重定向一般有两种目的

  1. 追踪用户打开了哪些 URL
  2. 在用户跳转到站外之前进行确认地址,防止打开不明的页面

反馈地址

反馈最好能带上出问题的网页地址

如果这能够帮助到你, 不妨点个 star, 你的支持就是我更新的动力

点击从 Github 安装

点击从 GreasyFork 安装

点击从 CDN 安装(国内用户)

工作原理

  1. 根据 URL 上暴露出来的跳转链接,正则匹配提取真实的地址,例如知乎,Google
  2. 如果 A 标签的内容为真实的地址,则替换,例如百度贴吧
  3. 逐一发送请求,获取真实的地址,例如百度搜索
  4. 根据请求特殊页面,这个特殊页面没有重定向地址,然后覆盖当前页,例如百度搜索,搜狗搜索
  5. 覆盖原本的链接点击事件,比如 qq 邮箱

更新日志

https://github.com/axetroy/anti-redirect/blob/master/CHANGELOG.md

支持的站点

  • 知乎
  • 知乎专栏
  • 知乎日报
  • Google 搜索
  • Google 文档
  • Google Play
  • Google Gmail
  • Google Youtube
  • Steam
  • 360 搜索
  • 新浪微博
  • Twitter
  • 搜狗搜索
  • 百度搜索
  • 百度视频
  • 百度学术
  • 百度贴吧
  • 掘金
  • QQ 邮箱
  • Mozilla
  • 简书
  • 豆瓣
  • Pocket
  • DogeDoge
  • 秘迹
  • CSDN
  • 开源中国
  • 印象笔记
  • 标志情报局
  • 爱发电
  • 51 CTO
  • InfoQ
  • Gitee
  • 少数派
更多
  • 51.ruyo.net

我想支持更多的站点

点击这个链接,提交 issues,说出你想要支持的站点

贡献代码

需要通过 NodeJs 把 TypeScript 编译成 javascript

git clone https://github.com/axetroy/anti-redirect.git

cd ./anti-redirect

npm install
npm run watch

开源许可

The Anti 996 License

请仔细阅读开源许可。

简而言之: 如果你正在 996,或者你的公司/单位正在 996 ,那么请不要安装这个脚本!

More Repositories

1

sms-boom

利用chrome的headless模式,模拟用户注册进行短信轰炸机
491
star
2

vm.js

Javascript 解释器. Javascript Interpreter
TypeScript
421
star
3

blog

📖基于Github API 的动态博客
JavaScript
215
star
4

go-server

Golang写的一些基础后端服务,基本包含大多数后端需要的服务
Go
203
star
5

dvm

🚀 Fast and simple version manger for Deno without runtime dependencies
Go
167
star
6

vscode-changelog-generator

vscode extension to generate changelog.
TypeScript
144
star
7

vscode-deno

Visual Studio Code Deno extension
TypeScript
102
star
8

wsm

🔳Manage you team's server via browser 通过浏览器管理服务器。堡垒机
Go
76
star
9

webuild

零配置, 无侵入式的小程序开发工具
JavaScript
59
star
10

GMscript

GM脚本合集
JavaScript
57
star
11

gin-uploader

Gin 框架的文件上传组件
Go
47
star
12

wxapp-http

微信小程序的http模块,Tiny but Powerful
JavaScript
42
star
13

crawler

nodejs 爬虫框架. crawler framework for nodejs
TypeScript
41
star
14

go-upload

Go 文件上传模块,hash去重/图片缩略图/配置文件,自实现
Go
38
star
15

kost

基于Koa,使用Typescript开发的Web框架
TypeScript
38
star
16

react-codebox

验证码输入框组件
JavaScript
37
star
17

react-download

react component for click and then download the specify content file.
JavaScript
36
star
18

babel-plugin-pre-calculate-number

pre calculate number expression
JavaScript
36
star
19

forward-cli

A command-line tool to reverse proxy any server. 快速反向代理任何网站
Go
31
star
20

watchdog

看门🐶,您的服务状态管家,支持 TCP/FTP/HTTP/WebSocket/SSH 等协议,通过Webhook/微信/邮件等多渠道通知
Go
27
star
21

pag

It mean: Pack And Go. 卷铺盖走人
JavaScript
27
star
22

swagger2ts

💗 从 Swagger 生成优雅的 Typescript 代码. Generate elegant typescript code from swagger.
TypeScript
26
star
23

deno_math

Deno module for high-precision calculations and scientific computing
TypeScript
23
star
24

vscode-movie

在vscode中查看热映电影/热门电影/高分电影/热门剧.
TypeScript
21
star
25

struct

A Modern, Scalable , Graceful, Easy Use data structure validator
JavaScript
20
star
26

vd

我只是视频的搬运工 Video Downloader
TypeScript
20
star
27

vscode-gpm

Manager your git projects with Golang style
TypeScript
20
star
28

wheel-timer.js

Hashed and Hierarchical Timing Wheels Implement
JavaScript
19
star
29

type-up

使用dart构建,GM脚本,敲起来
Dart
18
star
30

vscode-package-manager

vscode extension for managing your Packages that installed in your computer. Support Homebrew/npm/pip/yarn/apt and more
TypeScript
18
star
31

godefer

Golang Defer implement in Javascript
JavaScript
18
star
32

wxapp-socket

用于微信小程序socket通信的封装
TypeScript
17
star
33

wxapp-dev-tool-for-linux

linux版的微信小程序开发工具. 源码与官方一致
Shell
15
star
34

wxapp-storage

简单的微信小程序Storage相关的封装, 特点是安全的数据源, 有效的存储时间
JavaScript
13
star
35

gmock

简约而不简单的 APIs mocker
Go
13
star
36

p2p-chat

简单的实现P2P聊天
JavaScript
13
star
37

docker-configuration

各 Docker 容器常用的配置文件
JavaScript
12
star
38

vscode-nls-i18n

vscode library for supporting i18n
TypeScript
12
star
39

s4

集成本地/远程的工作流 Integrate local and remote workflow
Go
12
star
40

wxapp-promisify

微信小程序wx对象的API,promise化
JavaScript
12
star
41

github-size-badge

badge service for show github repository size.
JavaScript
11
star
42

wxapp-fetch

fetch API implement for WeChat App
JavaScript
11
star
43

vscode-npm-import-package-version

An extension to show npm package's version in you code.
TypeScript
10
star
44

libpack

Build your library without tears.🤣
JavaScript
9
star
45

denox

Execute Deno script even if you don't have Deno installed
Go
9
star
46

deno_free_port

Get free port for Deno
TypeScript
9
star
47

deno_process

process module for Deno
TypeScript
8
star
48

at-promise

promise directive for angular
JavaScript
7
star
49

html_no_print

HTML 页面防止被打印
7
star
50

vscode-markdown-script

A vscode extension to enhanced markdown code block
TypeScript
7
star
51

registry

Generic Registry for Git Repository
TypeScript
7
star
52

go-cli-boilerplate

Golang command line boilerplate
Makefile
7
star
53

gpm.rs

helps you manage hundreds of repository, and it written with Rust
Rust
6
star
54

deno_pkger

General resources packager for Deno
TypeScript
6
star
55

commander.dart

🔧The complete solution for Dart command-line interfaces, inspired by <commander.js>
Dart
6
star
56

prune.v

🚀 An extremely fast tool for prune your file-system written in V
V
5
star
57

redux-zero-persist

redux-zero persist middleware
JavaScript
5
star
58

vscode-comment-autocomplete

An VSCODE extension to autocomplete the comment.
TypeScript
5
star
59

generic-pool

Generic pool for Golang
Go
5
star
60

react-safe-setstate

react component decorator for make sure this.setState() run at safe env. registry setState method with an empty function before unmount.
JavaScript
5
star
61

redux-zero-logger

redux-zero logger middleware
JavaScript
5
star
62

mood.py

判断一句话的情绪,正面/负面/中性
Python
5
star
63

deno_machine_id

Get the unique ID of the current machine
TypeScript
5
star
64

marquee

Marquee component for Vue.js & React.js
TypeScript
5
star
65

kpv

Kill the process listening on the specified port, written in V。根据端口号关闭进程,它小巧,轻量
V
4
star
66

vscode-static-server

vscode extension to serve a static directory
TypeScript
4
star
67

gm-http

Http module for Greasyfork Script
TypeScript
4
star
68

vscode-open-in-browser

open HTML file in browser
TypeScript
4
star
69

event-emitter.dart

A Dart event emitter implementation without any dependencies.
Dart
4
star
70

vscode-http-proxy

A vscode extension to start http proxy server
TypeScript
4
star
71

vscode-auto-schema

An extension support most of JSON Schemas you ever see.
TypeScript
4
star
72

nid

Generate random number id in Golang
Go
3
star
73

greasy-scraper

为 https://greasyfork.org 写的爬虫
JavaScript
3
star
74

react-boilerplate

morden react boilerplate
TypeScript
3
star
75

deno_storage

implementation of localStorage and sessionStorage for Deno
TypeScript
3
star
76

fslint

文件系统命名风格检测工具 File system naming style lint
Go
3
star
77

gesture.js

手势库
TypeScript
3
star
78

wheel-timer

Hashed and Hierarchical Timing Wheels Implement for Go
Go
3
star
79

md5-ls

List of files/directory MD5 value
Go
3
star
80

ts-gmscript-boilerplate

Typescript lib boilerplate for building GM script
JavaScript
3
star
81

walk

walk dir
JavaScript
3
star
82

react-github-calendar

github-calendar wrapper component for react
JavaScript
3
star
83

ng-promise

Angular1.x的promise指令, 根据promise的结果,渲染不同的视图
JavaScript
3
star
84

monthly-technology-sharing

每月的技术分享大纲
HTML
3
star
85

wasm-hasher

computed data hash by webAssembly support md5,sha1,sha2,sha3,sm3 and more
Rust
3
star
86

signature-example

数据签名防篡改工作原理和例子
JavaScript
3
star
87

vscode-imagemin

An vscode extension to minify image
TypeScript
3
star
88

iTranslate

CSS
3
star
89

deno_dnx

A command line tool similar to npx
TypeScript
3
star
90

wxeact

基于微信小程序框架labrador的二次开发
JavaScript
3
star
91

concurrency-benchmarks

Golang/Nodejs/Deno/Python/PHP的原生 HTTP 高并发测试
JavaScript
2
star
92

prune.rs

Rust
2
star
93

wasm-example.go

WebAssembly example writing in Golang
Go
2
star
94

iconfont-componentized

IconFont 组件生成器
TypeScript
2
star
95

event-emitter.js

A Javascript event emitter implementation without any dependencies. only 1.4Kb
JavaScript
2
star
96

wxapp-webpack-boilerplate

boilerplate for building a morden WeChat app
JavaScript
2
star
97

wxapp-flex-grid

flex layout system for Wechat app
HTML
2
star
98

dockposer

docker-compose extra tool for easy deployment
TypeScript
2
star
99

go-filepool

GO文件上传例子
Go
2
star
100

proxy

代理服务器
JavaScript
2
star