This commit is contained in:
Corona 2020-07-01 16:33:34 +02:00
commit 30733d7884
2 changed files with 38 additions and 0 deletions

37
subfiles/chromium_tor.md Normal file
View File

@ -0,0 +1,37 @@
# 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

View File

@ -293,6 +293,7 @@ There is no 100% secure nor 100% private on the internet and technology.
- Don't want to use "Tor"? You can use _any browser_ with [Tor daemon](https://packages.debian.org/search?searchon=names&keywords=tor).
- Note that the Tor project [don't like this](https://support.torproject.org/tbb/tbb-9/). Use `Tor Browser` if you are able to do so.
- [How to use Chromium with Tor](subfiles/chromium_tor.md)
- It may be possible to use "Tor Browser" without Tor: