Quietly add extension link and warn off sync

This commit is contained in:
idk
2020-01-07 15:45:38 -05:00
parent 24266352b1
commit f56890fae6
4 changed files with 74 additions and 52 deletions

View File

@ -17,6 +17,19 @@ technology available across all Chromium variants. Also use Chromium or even
better, ungoogled-chromium because Chrome is an advertising delivery vehicle
with trivial browser-like characteristics.
This is an *EXPERIMENTAL* Procedure.
### Don't enable syncing for this Profile
You should not enable the use of a google account or plugin syncing for this
profile. If you see something like these:
* **Syncing Options:**
- ![sync](sync.png)
- ![plugins](plugins.png)
Say no, otherwise you will be sharing your profile data with google!
Profile+Plugin Solution, All Platforms
--------------------------------------
@ -27,31 +40,20 @@ that Google makes available via extensions, which is pretty narrow.
**Step 1: Create an I2P Browsing Profile**
* **1A:** Open the people manager to create your I2P persona within Chromium.
* ![Open the people manager.](people.png)
- ![Open the people manager.](people.png)
* **1B:** Add a person named I2P Browsing Mode.
* ![Add a person.](manager.png)
- ![Add a person.](manager.png)
* **1C:** Give the person some cool shades to protect them on the *darkweb*.
* ![Give them some cool shades.](shades.png)
- ![Give them some cool shades.](shades.png)
* **1D:** Awwwwwww...
* ![Feel bad.](done.png)
- ![Feel bad.](done.png)
**Step 2: Install Extension on profile**
*A work-in-progress I2P extension is part of this repository. For now, you*
*have to side-load it in developer mode because it's definitely unfinished.*
* **2A:** From your new I2P Browsing profile, open the extensions menu.
* ![Open the browser extensions menu.](extensions.png)
* **2B:** Turn on developer mode to enable loading the extension.
* ![Enable developer mode.](developer.png)
* **2C:** Select "Load Unpacked" to install the extension
* ![Load the unpacked extension.](unpacked.png)
* **2D:** Navigate to the extension directory(this directory/i2pchrome.js) and
install it.
* ![Open the extension directory.](directory.png)
* **2E:** If it worked, you will the the plugin installed in your extensions
menu.
* ![Verify installation.](finished.png)
* **2A:** Open the following link in your I2P Browsing Mode persona and install
the extension like you normally would, by clicking the "Install in Chrome"
button. This is an *experimental* extension.
[i2pchrome.js](https://chrome.google.com/webstore/detail/i2pchromejs/ikdjcmomgldfciocnpekfndklkfgglpe)
Pure Terminal Solution, Unix-Only
---------------------------------

View File

@ -7,7 +7,8 @@
"storage",
"webRequest",
"webRequestBlocking",
"<all_urls>"
"*://127.0.0.1/*",
"*://localhost/*"
],
"manifest_version": 2,
"name": "__MSG_extensionName__",

View File

@ -25,21 +25,26 @@ function SetControlHostText() {
}
function setupProxy() {
var controlHost = getControlHost();
var controlPort = getControlPort();
var Host = getHost();
var Port = getPort();
var Scheme = getScheme();
function handleProxyRequest(requestInfo) {
console.log("proxying request via listener");
console.log(" ", Scheme, Host, ":", Port);
return { type: Scheme, host: Host, port: Port, proxyDns: true };
}
console.log("Setting up Firefox WebExtension proxy");
browser.proxy.onRequest.addListener(handleProxyRequest, {
urls: ["<all_urls>"]
});
console.log("i2p settings created for WebExtension Proxy");
var config = {
mode: "fixed_servers",
rules: {
singleProxy: {
scheme: Scheme,
host: Host,
port: parseInt(Port)
}
}
};
chrome.proxy.settings.set(
{
value: config,
scope: "regular"
},
function() {}
);
}
function SetControlPortText() {

View File

@ -9,7 +9,7 @@
<p>This is not a recommendation! This is a much more complicated procedure than
we wish to recommend to anyone. A great deal of thought went into the design of
the <a href="https://github.com/eyedeekay/I2P-in-Private-Browsing-Mode-Firefox">Firefox extension</a>,
the <a href="https://eyedeekay.github.io/I2P-in-Private-Browsing-Mode-Firefox/">Firefox extension</a>,
which is safer and better because of the way Mozilla has designed and maintained
it's webextension privacy API's. Moreover, Chrome is bad for the Internet. So is
Google. If you <strong>must</strong>, absolutely must, use Chrome, then you are part of a
@ -23,6 +23,23 @@ technology available across all Chromium variants. Also use Chromium or even
better, ungoogled-chromium because Chrome is an advertising delivery vehicle
with trivial browser-like characteristics.</p>
<p>This is an <em>EXPERIMENTAL</em> Procedure.</p>
<h3>Don't enable syncing for this Profile</h3>
<p>You should not enable the use of a google account or plugin syncing for this
profile. If you see something like these:</p>
<ul>
<li><strong>Syncing Options:</strong>
<ul>
<li><img src="sync.png" alt="sync" title="" /></li>
<li><img src="plugins.png" alt="plugins" title="" /></li>
</ul></li>
</ul>
<p>Say no, otherwise you will be sharing your profile data with google!</p>
<h2>Profile+Plugin Solution, All Platforms</h2>
<p>This solution is probably the easiest for the majority of people, but it may not
@ -32,34 +49,31 @@ that Google makes available via extensions, which is pretty narrow.</p>
<p><strong>Step 1: Create an I2P Browsing Profile</strong></p>
<ul>
<li><strong>1A:</strong> Open the people manager to create your I2P persona within Chromium.</li>
<li><strong>1A:</strong> Open the people manager to create your I2P persona within Chromium.
<ul>
<li><img src="people.png" alt="Open the people manager." title="" /></li>
<li><strong>1B:</strong> Add a person named I2P Browsing Mode.</li>
</ul></li>
<li><strong>1B:</strong> Add a person named I2P Browsing Mode.
<ul>
<li><img src="manager.png" alt="Add a person." title="" /></li>
<li><strong>1C:</strong> Give the person some cool shades to protect them on the <em>darkweb</em>.</li>
</ul></li>
<li><strong>1C:</strong> Give the person some cool shades to protect them on the <em>darkweb</em>.
<ul>
<li><img src="shades.png" alt="Give them some cool shades." title="" /></li>
<li><strong>1D:</strong> Awwwwwww...</li>
</ul></li>
<li><strong>1D:</strong> Awwwwwww...
<ul>
<li><img src="done.png" alt="Feel bad." title="" /></li>
</ul></li>
</ul>
<p><strong>Step 2: Install Extension on profile</strong></p>
<p><em>A work-in-progress I2P extension is part of this repository. For now, you</em>
<em>have to side-load it in developer mode because it's definitely unfinished.</em></p>
<ul>
<li><strong>2A:</strong> From your new I2P Browsing profile, open the extensions menu.</li>
<li><img src="extensions.png" alt="Open the browser extensions menu." title="" /></li>
<li><strong>2B:</strong> Turn on developer mode to enable loading the extension.</li>
<li><img src="developer.png" alt="Enable developer mode." title="" /></li>
<li><strong>2C:</strong> Select "Load Unpacked" to install the extension</li>
<li><img src="unpacked.png" alt="Load the unpacked extension." title="" /></li>
<li><strong>2D:</strong> Navigate to the extension directory(this directory/i2pchrome.js) and
install it.</li>
<li><img src="directory.png" alt="Open the extension directory." title="" /></li>
<li><strong>2E:</strong> If it worked, you will the the plugin installed in your extensions
menu.</li>
<li><img src="finished.png" alt="Verify installation." title="" /></li>
<li><strong>2A:</strong> Open the following link in your I2P Browsing Mode persona and install
the extension like you normally would, by clicking the "Install in Chrome"
button. This is an <em>experimental</em> extension
<a href="https://chrome.google.com/webstore/detail/i2pchromejs/ikdjcmomgldfciocnpekfndklkfgglpe">i2pchrome.js</a></li>
</ul>
<h2>Pure Terminal Solution, Unix-Only</h2>