aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchrome <chrome@noreply.codeberg.org>2020-07-01 16:26:36 +0200
committerchrome <chrome@noreply.codeberg.org>2020-07-01 16:26:36 +0200
commitcff9cf46e5d1a7c207e38ae6eb8c4d79fc5963de (patch)
treed773a78182a8e2d558538a66b5d53d10e3477e3c
parentcef8dac682ab6c1e4ae9b24a98d2b15d89021fae (diff)
downloadcloudflare-tor-cff9cf46e5d1a7c207e38ae6eb8c4d79fc5963de.tar.lz
cloudflare-tor-cff9cf46e5d1a7c207e38ae6eb8c4d79fc5963de.tar.xz
cloudflare-tor-cff9cf46e5d1a7c207e38ae6eb8c4d79fc5963de.zip
Add 'subfiles/chromium_tor.md'
-rw-r--r--subfiles/chromium_tor.md38
1 files changed, 38 insertions, 0 deletions
diff --git a/subfiles/chromium_tor.md b/subfiles/chromium_tor.md
new file mode 100644
index 00000000..fc2f1d28
--- /dev/null
+++ b/subfiles/chromium_tor.md
@@ -0,0 +1,38 @@
+# How to use Chromium with Tor
+
+
+0. Install Tor.
+
+1. Download "set-pac-from-file.zip" from [Issue 839566: Remove support for PAC file to be loaded from files.](https://bugs.chromium.org/p/chromium/issues/detail?id=839566#c40)
+
+2. Open your Chromium directory and create a folder named "`pac-loader`" (anything)
+
+3. Extract the zip to "`pac-loader`"
+
+4. Open "`my_pac_script.js`" file
+
+5. Change it like this.
+
+{{{
+function FindProxyForURL(url, host){
+ if (shExpMatch(host,"*.onion")){return "SOCKS5 127.0.0.1:9050";}
+ if (shExpMatch(host,"www.cloudflare.com")||shExpMatch(host,"www.nsa.gov")){return "SOCKS5 0.0.0.0:7";}
+ return "SOCKS5 127.0.0.1:9050";
+}
+}}}
+
+6. Open Chromium > 3 dots > More Tools > Extensions
+
+7. Enable "`Developer mode`"
+
+8. Click "`Load unpacked`"
+
+9. Select your "`pac-loader`" directory
+
+10. Click "`Details `" of "`Set PAC from file`"
+
+11. Enable "`Allow in incognito`"
+
+12. Close and reopen your browser
+
+13. Now you can connect to onionsite