Git Product home page Git Product logo

gooreplacer.xpi's People

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  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  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  avatar

Watchers

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

gooreplacer.xpi's Issues

跳转规则丰富一点

很好的插件,提供了自定义;有个个人看法是,作者可不可以分享一下自己日常使用的规则,甚至可以作为插件的默认规则,这样插件装好了,就可以开箱即用,皆大欢喜,是吧。毕竟要每个用户单独重复去维护个人的跳转规则库,倒不如一个集中的现成的规则库。

能提供 Firefox for Android 支持吗?

您开发的扩展非常好用,但是有一个小小的问题,就是我在 Firefox for Android 上面打开了 Mozilla ADD-ONS 地址(我有时喜欢用这个浏览器在手机上打开 Web QR 扫二维码,这个网站也用了谷歌的接口),按下“添加到 Firefox”以后得到的却是“无法安装”的提示,不知您能否解决下这个问题?

与redirector扩展的区别是?

Redirector :: Firefox 附加组件
https://addons.mozilla.org/zh-CN/firefox/addon/redirector/
因为gooreplacer支持在线规则,可以跨fx和chrome使用,所以我准备将firefox redirector 扩展的规则都转换过来,故有如下疑问:
1、注释写在哪?
2、能否限定某些规则只对地址栏重定向,不处理页内元素?
3、能否利用fx和chrome自带的同步功能,同步在线规则地址?

写规则的一个问题

我想把

  • https://**cdnjs.cloudflare.com/ajax/**libs/jquery/2.1.1/jquery.min.js

重定向到

  • https://cdnjscn.b0.upaiyun.com/libs/jquery/2.1.1/jquery.min.js

试了以下规则,均无效:

  1. cdnjs.cloudflare.com/ajax ---->通配符---> cdnjscn.b0.upaiyun.com
  2. http*://cdnjs.cloudflare.com/ajax ---->通配符---> https://cdnjscn.b0.upaiyun.com
  3. http*://cdnjs.cloudflare.com/ajax/(.*)$ ---->正则式---> https://cdnjscn.b0.upaiyun.com/$1

不知道是哪里写错了呢?望解答。

火狐版gooreplacer貌似有个bug

起因是这个帖子https://www.zhihu.com/question/37871481,让有土鳖直接显示中文字幕,但是火狐上的重定向工具没有Owl-redirector这种(我估计又也说不定存在gooreplacer这个bug),然后弄了个重定向规则


https://www.youtube.com/api/timedtext\?(.*)
https://www.youtube.com/api/timedtext?$1&tlang=zh-Hans

在谷歌内核浏览器用gooreplacer测试能正常使用,但是在火狐上不行,研究了半天发现gooreplacer貌似会对XHR这种注入不停重复执行重定向

以上

lug.ustc.edu.cn镜像今天好像有点问题

有时候返回504, 有时候返回302. 感觉有点问题. 正常应该直接返回200和资源的.

PS C:\Users\meteor> curl -v http://fonts.lug.ustc.edu.cn/css?family=Open+Sans
* About to connect() to fonts.lug.ustc.edu.cn port 80 (#0)
*   Trying 202.141.162.123... connected
* Connected to fonts.lug.ustc.edu.cn (202.141.162.123) port 80 (#0)
> GET /css?family=Open+Sans HTTP/1.1
> User-Agent: curl/7.21.7 (amd64-pc-win32) libcurl/7.21.7 OpenSSL/0.9.8r zlib/1.2.5
> Host: fonts.lug.ustc.edu.cn
> Accept: */*
>
< HTTP/1.1 504 Gateway Time-out
< Server: nginx/1.6.0
< Date: Thu, 18 Dec 2014 09:27:21 GMT
< Content-Type: text/html
< Transfer-Encoding: chunked
< Connection: keep-alive
<
<html>
<head><title>504 Gateway Time-out</title></head>
<body bgcolor="white">
<center><h1>504 Gateway Time-out</h1></center>
<hr><center>nginx/1.6.0</center>
</body>
</html>
* Connection #0 to host fonts.lug.ustc.edu.cn left intact
* Closing connection #0

PS C:\Users\meteor> curl -v http://ajax.lug.ustc.edu.cn/ajax/libs/jquery/1.8.1/jquery.min.js
* About to connect() to ajax.lug.ustc.edu.cn port 80 (#0)
*   Trying 202.141.162.123... connected
* Connected to ajax.lug.ustc.edu.cn (202.141.162.123) port 80 (#0)
> GET /ajax/libs/jquery/1.8.1/jquery.min.js HTTP/1.1
> User-Agent: curl/7.21.7 (amd64-pc-win32) libcurl/7.21.7 OpenSSL/0.9.8r zlib/1.2.5
> Host: ajax.lug.ustc.edu.cn
> Accept: */*
>
< HTTP/1.1 302 Moved Temporarily
< Server: nginx/1.6.0
< Date: Thu, 18 Dec 2014 09:29:04 GMT
< Content-Type: text/html
< Content-Length: 160
< Connection: keep-alive
< Location: http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js
<
<html>
<head><title>302 Found</title></head>
<body bgcolor="white">
<center><h1>302 Found</h1></center>
<hr><center>nginx/1.6.0</center>
</body>
</html>
* Connection #0 to host ajax.lug.ustc.edu.cn left intact
* Closing connection #0

snap1

Mac下重定向失效

Mac下,点红色按钮关闭firefox窗口后再打开就会失效,但如果是退出firefox后再打开就没有这个问题。(Mac10.10,firefox35.01)

android

很好;android版的要是能顺利上架就好了,现在还搜不到。

新功能需求:直接drop掉某些request

场景:
youku.com目前会集成一些第三方广告公司的一些脚本,追踪用户.
例如:scorecardresearch.com
这些站会导致浏览器一直提示在加载.

需求:
当满足一些规则时,直接drop掉一些request请求.

这样只要规则得当,反而可以加快'加载'速度.

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.