From cff9cf46e5d1a7c207e38ae6eb8c4d79fc5963de Mon Sep 17 00:00:00 2001 From: chrome Date: Wed, 1 Jul 2020 16:26:36 +0200 Subject: [PATCH 1/9] Add 'subfiles/chromium_tor.md' --- subfiles/chromium_tor.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 subfiles/chromium_tor.md 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 From 6e65d401372b034a93758caba92c0929ab12faf2 Mon Sep 17 00:00:00 2001 From: chrome Date: Wed, 1 Jul 2020 16:27:38 +0200 Subject: [PATCH 2/9] Delete 'subfiles/chromium_tor.md' --- subfiles/chromium_tor.md | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 subfiles/chromium_tor.md diff --git a/subfiles/chromium_tor.md b/subfiles/chromium_tor.md deleted file mode 100644 index fc2f1d28..00000000 --- a/subfiles/chromium_tor.md +++ /dev/null @@ -1,38 +0,0 @@ -# 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 From 7796e94154027bbede062ba0cb2804418f887b73 Mon Sep 17 00:00:00 2001 From: chrome Date: Wed, 1 Jul 2020 16:27:52 +0200 Subject: [PATCH 3/9] Add 'subfiles/chromium_tor.md' --- subfiles/chromium_tor.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 subfiles/chromium_tor.md diff --git a/subfiles/chromium_tor.md b/subfiles/chromium_tor.md new file mode 100644 index 00000000..945c9b46 --- /dev/null +++ b/subfiles/chromium_tor.md @@ -0,0 +1 @@ +. \ No newline at end of file From deb27986b1c9d009d78963c0893f428ce331d065 Mon Sep 17 00:00:00 2001 From: chrome Date: Wed, 1 Jul 2020 16:29:10 +0200 Subject: [PATCH 4/9] Update 'subfiles/chromium_tor.md' --- subfiles/chromium_tor.md | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/subfiles/chromium_tor.md b/subfiles/chromium_tor.md index 945c9b46..0ef47c63 100644 --- a/subfiles/chromium_tor.md +++ b/subfiles/chromium_tor.md @@ -1 +1,37 @@ -. \ No newline at end of file +# 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 + From 14b544c20a03e4e2aa1f46286ff8d47ec2ecc7e2 Mon Sep 17 00:00:00 2001 From: chrome Date: Wed, 1 Jul 2020 16:29:39 +0200 Subject: [PATCH 5/9] Update 'subfiles/chromium_tor.md' --- subfiles/chromium_tor.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subfiles/chromium_tor.md b/subfiles/chromium_tor.md index 0ef47c63..8bdd43eb 100644 --- a/subfiles/chromium_tor.md +++ b/subfiles/chromium_tor.md @@ -13,12 +13,12 @@ 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` From aa1893b6a56c2e3f569eee7b5d9083d8cf19d385 Mon Sep 17 00:00:00 2001 From: chrome Date: Wed, 1 Jul 2020 16:29:49 +0200 Subject: [PATCH 6/9] Update 'subfiles/chromium_tor.md' --- subfiles/chromium_tor.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subfiles/chromium_tor.md b/subfiles/chromium_tor.md index 8bdd43eb..c34ea918 100644 --- a/subfiles/chromium_tor.md +++ b/subfiles/chromium_tor.md @@ -29,7 +29,7 @@ function FindProxyForURL(url, host){ 9. Select your "`pac-loader`" directory -10. Click "`Details `" of "`Set PAC from file`" +10. Click "`Details`" of "`Set PAC from file`" 11. Enable "`Allow in incognito`" From 2b22a042494b8b7be42a53b1b052427d1d98cf07 Mon Sep 17 00:00:00 2001 From: chrome Date: Wed, 1 Jul 2020 16:30:27 +0200 Subject: [PATCH 7/9] Update 'what-to-do.md' --- what-to-do.md | 1 + 1 file changed, 1 insertion(+) diff --git a/what-to-do.md b/what-to-do.md index b22b8f37..a7507a6b 100644 --- a/what-to-do.md +++ b/what-to-do.md @@ -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: From bca1cc385621dc41d5b1e3e4562835f9ffe4954a Mon Sep 17 00:00:00 2001 From: chrome Date: Wed, 1 Jul 2020 16:31:42 +0200 Subject: [PATCH 8/9] Update 'what-to-do.md' --- what-to-do.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/what-to-do.md b/what-to-do.md index a7507a6b..ad703611 100644 --- a/what-to-do.md +++ b/what-to-do.md @@ -293,7 +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) +- [How to use Chromium with Tor](subfiles/chromium_tor.md) - It may be possible to use "Tor Browser" without Tor: From 1d7d023573219c58db8ddafcb7b9c18fb4554e26 Mon Sep 17 00:00:00 2001 From: chrome Date: Wed, 1 Jul 2020 16:33:09 +0200 Subject: [PATCH 9/9] Update 'subfiles/chromium_tor.md' --- subfiles/chromium_tor.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subfiles/chromium_tor.md b/subfiles/chromium_tor.md index c34ea918..82851744 100644 --- a/subfiles/chromium_tor.md +++ b/subfiles/chromium_tor.md @@ -18,7 +18,7 @@ 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`