Skip to content

Commit

Permalink
v8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
erosman authored Dec 15, 2023
1 parent acba1a2 commit 79aaa62
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 11 deletions.
20 changes: 13 additions & 7 deletions src/content/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,10 @@ <h4>Storage quotas for sync data</h4>
See also: <a href="https://github.com/w3c/webextensions/issues/351" target="_blank">Discuss limits applied to storage.local and storage.sync API</a></p>


<h2>Show Pattern Proxy <span>(Firefox only)</span></h2>
<p>Show proxies on the toolbar badge when in Proxy by Patterns mode</p>


<h2>Limit WebRTC <span>(requires "privacy" permission)</span></h2>
<p>Toggle <a href="https://developer.mozilla.org/docs/Web/API/WebRTC_API" target="_blank">WebRTC</a> browser settings as it has been known to leak real IP</p>
<p>Toggle changes the browser preferences and does not require SAVE.</p>
Expand Down Expand Up @@ -1047,12 +1051,13 @@ <h1 id="enterprise-policy" class="experimental">Enterprise Policy <span>(v8.2)</
<h4>Default Options <span>(v8.2)</span></h4>
<pre>
{
"mode": "disable", // mandatory: current option, necessary to enable
"sync": false, // optional: not necessary as it will be disabled on managed storage
"passthrough": "", // optional: Global Exclude
"container": {}, // optional: Incognito/Container settings
"commands": {}, // optional: keyboard shortcut settings
"data": [] // mandatory: array of proxies and their patterns
"mode": "disable", // mandatory: current option, necessary to enable
"sync": false, // optional: not necessary as it will be disabled on managed storage
"showPatternProxy": false, // optional: Show proxies on the toolbar badge when in Proxy by Patterns mode (Firefox only)
"passthrough": "", // optional: Global Exclude
"container": {}, // optional: Incognito/Container settings
"commands": {}, // optional: keyboard shortcut settings
"data": [] // mandatory: array of proxies and their patterns
}
</pre>

Expand Down Expand Up @@ -1128,7 +1133,7 @@ <h4>Default Options <span>(v8.2)</span></h4>
<tr>
<th>Location: Linux</th>
<td>
◦ Chrome: <code>/etc/opt/chrome/policies/</code> <br>
◦ Chrome: <code>/etc/opt/chrome/policies/managed</code> <br>
◦ Chromium: <code>/etc/chromium/policies</code></td>
<td>
◦ System-wide: <code>/etc/firefox/policies</code><br>
Expand All @@ -1138,6 +1143,7 @@ <h4>Default Options <span>(v8.2)</span></h4>
<tr>
<th>See also</th>
<td>
<a href="https://support.google.com/chrome/a/answer/9027408" target="_blank">Set policies</a><br>
<a href="https://www.chromium.org/administrators/configuring-policy-for-extensions" target="_blank">Configuring Apps and Extensions by Policy</a><br>
<a href="https://chromium.googlesource.com/chromium/src/+/HEAD/docs/enterprise/policies.md" target="_blank">Enterprise policies</a>
</td>
Expand Down
2 changes: 1 addition & 1 deletion src/content/on-request.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class OnRequest {
}
}

static init(pref) {
static init(pref) { console.log(pref);
this.mode = pref.mode;
const [passthrough, , net] = Pattern.getPassthrough(pref.passthrough);
this.passthrough = passthrough;
Expand Down
6 changes: 3 additions & 3 deletions src/content/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
"title": {"type": "string"},
"pattern": {"type": "string"},
"active": {"type": "boolean"}
}
},
"required": ["type", "title", "pattern", "active"]
},
"required": ["type", "title", "pattern", "active"]
}
},
"exclude": {"$ref": "include"}
},
Expand Down

0 comments on commit 79aaa62

Please sign in to comment.