Giter Club home page Giter Club logo

gooreplacer's Introduction

官方网站

http://liujiacai.net/gooreplacer

gooreplacer

Mozilla ADD-ONS地址

Chrome版

A replacer for google fonts/api/themes.... to load page faster!

一个用于替换网页中Google Fonts,API,themes等的Firefox插件,让你快速打开这些页面!

更进一步,你还可以进行自定义重定向规则,想去哪儿,就去哪儿~~

WARN

因本扩展使用的redirectTo方法限制,只支持Firefox 20及以上的版本。

INSTALL

用户在Mozilla ADD-ONS安装gooreplacer后,如果想要进行资源重定向,需要在配置项中开启,步骤如下:

  1. 在Firefox中输入,about:addons,打开插件控制面板
  2. 找到gooreplacer插件,点击配置
  3. 选中“开启重定向”

 enable-redirect

操作完上面三步后,请用下面TEST中的四个链接做测试。

TEST

安装本插件并选中“开启重定向”后,可以Firefox中输入下面的链接检查是否起作用:

  1. https://fonts.googleapis.com/css?family=Open+Sans
  2. https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js
  3. http://fonts.googleapis.com/css?family=Open+Sans
  4. http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js

如果能转到lug.ustc.edu.cn相应的资源即说明跳转成功。

DIY

在最新版的gooreplacer中,加入了自定义功能,用户可以根据自己的需要进行设置;同时每条规则添加“停用/开启”两种状态;更进一步,添加”导入/导出“,用户可以导出当前的规则,即可以作为备份,又可以方便与别人分享。

 gooreplacer

如果你发现有任何问题,请与我联系。谢谢!

Development

VERSION

  • 0.1 首次发布
  • 0.1.1 根据Mozilla reviewer的建议,使用tab模块来关闭Observer
  • 0.1.2 当FF中打开并关闭一个tab后,无法跳转链接,原因是关闭Observer的方式不对。现改用windows模块来关闭Observer
  • 0.2 增加官方主页
  • 0.3 修改重定向规则,取消*通配符
  • 0.4 增加用户选项isRedirect,通过Mozilla的官方审查 ----2014.09.21
  • 0.4.5 用户可以通过选择文件自定义规则
  • 0.4.6 增加用户自定义界面
  • 0.4.7 在用户界面,可以禁用某条规则
  • 0.5 用户自定义规则界面测试完毕,发布正式版
  • 0.6 添加导入导出功能,发布正式版
  • ...
  • 更多功能,等你来开发

gooreplacer's People

Watchers

James Cloos avatar phantomes 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.