mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-30 21:33:43 +03:00
2.6 KiB
Executable File
2.6 KiB
Executable File
Maintainer Needed! Нужен разработчик!
Also, if you unstar, please, leave us a note why you do so.
Russian Anti-Censorship on PAC-Scripts
This repo contains:
- Chrome Extension to bypass censorship in Russia: WebStore | Sources
- Proof of concept PAC-script generator based on https://github.com/zapret-info/z-i
PAC-scripts performance analyses of scripts generated(doesn't take parse time into account)- Based on the research of step 3 the final PAC-generator was written as a Google App Script in JavaScript which is triggered every two hours to generate and publish PAC-script on Google Drive (don't use direct URL without extension, please, URL will be periodically changed to counter abuse).
Why I do This
I believe information mustn't be blocked based on political or other subjective views.
My maxim is "Your freedom ends when it starts to confine the freedom of others".
See my other arguments against censorship (ru)
Looking at how Russian government distorts TV and blocks critics of Putin, I decided to write an anti-censorship extension for Chromium before they strike me first.
How it Works
- PAC script is a JavaScript file, triggered on every URL request, which says browser which proxy to use if any for this particular URL.
- The Chrome Extension sets PAC script in browser settings and keeps it synced with PAC script on the server (offering one on Google Drive, Antizapret or on Anticenz).
- On every request PAC script checks if host is blocked OR if it's IP is blocked using
switch(..) {..}
trie-like structure (Google Drive PAC script).
Antizapret PAC script checks for IPs only withindexOf
.
Anticenz PAC script checks for hosts and IPs withindexOf
, but lacks some IPs. - If address is blocked PAC script returns proxy server to the browser: Antizapret, or Anticenz if the first one fails.
- PAC scripts on servers are updated periodically from https://github.com/zapret-info/z-i