Coder Social home page Coder Social logo

privoxy's Introduction

Privoxy

这是我自用的 Privoxy 配置文件,主要包括两个文件:

  1. user.action
  2. user.filter

用法

  1. cd 到 Privoxy 的配置目录,

    • openSUSE: /etc/privoxy/
    • Mac OS: /usr/local/etc/privoxy
  2. mkdir else 创建一个 else 目录

  3. 新创建的 else 目录通常会有权限问题,请执行:

     sudo chown -R `whoami` else
    

    else 目录所有者修改为当前用户。

  4. cd else 切换到 else 目录

  5. git clone https://github.com/chenxsan/Privoxy.git . 将配置文件克隆一份到 else 目录

  6. 打开 Privoxy 的主配置文件 config,在文件最后添加以下两行:

    actionsfile else/user.action
    filterfile else/user.filter
    
  7. 可能还需要重启 Privoxy

  8. 往后更新此配置文件只需要进入 else 目录执行 git pull

规则共享

这些文件根据我个人浏览网页的习惯配置,不一定适用所有人。如有需要,请 fork 然后自定义。如果某些规则可共享,欢迎提 pull request。

HTTPS 的情况

Privoxy 仅支持 HTTPS 链接 host 部分的过滤,需要更细的定制的话,推荐使用 Greasemonkey 一类工具。

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.