Giter Club home page Giter Club logo

gooreplacer's Introduction

重定向/屏蔽 URL,修改/屏蔽 header

gooreplacer 最初为解决国内无法访问 Google 资源(Ajax、API等)导致页面加载速度巨慢而生,新版在此基础上,增加了更多实用功能,可以方便用户屏蔽某些请求,修改 HTTP 请求/响应 的 headers。

English Version

特性

  • 支持在线规则,主要用于重定向 Google 资源,用户可更改
  • 本地规则
  • 导入导出规则,方便用户备份、同步(规则可在 Chrome/Firefox/Edge.. 通用)
  • 支持测试
  • i18n

对于只想重定向 Google 资源的同学,可以在在线规则处填上

https://raw.githubusercontent.com/jiacai2050/gooreplacer/master/gooreplacer.json

然后点击更新就好了,目前会重定向到loli.net的代理。 如果想自定义规则,可参考 guides.md。实用小技巧:

安装

插件商店

推荐在浏览器的插件商店去下载,欢迎打分~

浏览器 评分 用户数
Chrome Web Store Chrome Web Store Chrome Web Store
Mozilla Add-on Mozilla Add-on Mozilla Add-on
Microsoft Edge Microsoft Edge

zip 包

release 页面下载对应打包好的 zip 文件,本地解压。之后在 chrome://extensions/ 选中开发者模式,选择「加载已解压的扩展程序」即可。

实现

在 v1.0 之前采用纯 JavaScript 实现,代码在 legacy-js-src 目录,在 v2.0 之后采用 ClojureScript + Reagent + Antd + React-Bootstrap,在 cljs-src 目录。

License

MIT License © Jiacai Liu

gooreplacer's People

Contributors

krasnayaploshchad avatar arcticlampyrid avatar gloomy-ghost avatar cbw2007 avatar jiacai2050 avatar lehmaning avatar lemonawa avatar meteormatt avatar ganyuanzhen avatar

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.