clean up standards definitions, add new 'Lite' configuration
This commit is contained in:
parent
2fab105620
commit
6b690cecf5
5 changed files with 41 additions and 5 deletions
|
@ -16,6 +16,9 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
|
<button @click="onLiteClicked">
|
||||||
|
Use Lite Settings
|
||||||
|
</button>
|
||||||
<button @click="onConservativeClicked">
|
<button @click="onConservativeClicked">
|
||||||
Use Conservative Settings
|
Use Conservative Settings
|
||||||
</button>
|
</button>
|
||||||
|
@ -28,7 +31,15 @@
|
||||||
<button @click="onAllClicked">
|
<button @click="onAllClicked">
|
||||||
Block All
|
Block All
|
||||||
</button>
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="panel-footer">
|
||||||
|
<strong>Lite</strong> is designed to have a minimal
|
||||||
|
impact on typical browsing while still providing
|
||||||
|
security and privacy improvements.
|
||||||
|
<strong>Conservative</strong> and <strong>Aggressive</strong>
|
||||||
|
provide extra protections, though will impact the
|
||||||
|
functionaltiy more sites.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -55,6 +66,9 @@
|
||||||
onStandardChecked: function () {
|
onStandardChecked: function () {
|
||||||
this.$root.$data.setSelectedStandards(this.selectedStandards);
|
this.$root.$data.setSelectedStandards(this.selectedStandards);
|
||||||
},
|
},
|
||||||
|
onLiteClicked: function () {
|
||||||
|
this.$root.$data.setSelectedStandards(standardsDefaults.lite);
|
||||||
|
},
|
||||||
onConservativeClicked: function () {
|
onConservativeClicked: function () {
|
||||||
this.$root.$data.setSelectedStandards(standardsDefaults.conservative);
|
this.$root.$data.setSelectedStandards(standardsDefaults.conservative);
|
||||||
},
|
},
|
||||||
|
|
|
@ -5,7 +5,23 @@
|
||||||
*/
|
*/
|
||||||
window.WEB_API_MANAGER.defaults = {};
|
window.WEB_API_MANAGER.defaults = {};
|
||||||
|
|
||||||
|
window.WEB_API_MANAGER.defaults.lite = [
|
||||||
|
"Beacon",
|
||||||
|
"Ambient Light Sensor API",
|
||||||
|
"Scalable Vector Graphics (SVG) 1.1 (Second Edition)",
|
||||||
|
"Geolocation API",
|
||||||
|
"Gamepad",
|
||||||
|
"Web Audio API",
|
||||||
|
"Battery Status API",
|
||||||
|
"WebVTT: The Web Video Text Tracks Format",
|
||||||
|
"WebRTC 1.0: Real-time Communication Between Browser",
|
||||||
|
"WebGL Specification",
|
||||||
|
"Geometry Interfaces Module Level 1",
|
||||||
|
"Web Notifications",
|
||||||
|
];
|
||||||
|
|
||||||
window.WEB_API_MANAGER.defaults.conservative = [
|
window.WEB_API_MANAGER.defaults.conservative = [
|
||||||
|
"Beacon",
|
||||||
"MediaStream Recording",
|
"MediaStream Recording",
|
||||||
"DOM Parsing and Serialization",
|
"DOM Parsing and Serialization",
|
||||||
"Fullscreen API",
|
"Fullscreen API",
|
||||||
|
@ -16,10 +32,10 @@ window.WEB_API_MANAGER.defaults.conservative = [
|
||||||
"Indexed Database API",
|
"Indexed Database API",
|
||||||
"Performance Timeline Level 2",
|
"Performance Timeline Level 2",
|
||||||
"Resource Timing",
|
"Resource Timing",
|
||||||
"Scalable Vector Graphics 1.1",
|
|
||||||
"UI Events Specification",
|
"UI Events Specification",
|
||||||
|
"WebGL Specification",
|
||||||
"Web Audio API",
|
"Web Audio API",
|
||||||
"WebGL Specification"
|
"Scalable Vector Graphics (SVG) 1.1 (Second Edition)",
|
||||||
];
|
];
|
||||||
|
|
||||||
window.WEB_API_MANAGER.defaults.aggressive = window.WEB_API_MANAGER.defaults.conservative.concat([
|
window.WEB_API_MANAGER.defaults.aggressive = window.WEB_API_MANAGER.defaults.conservative.concat([
|
||||||
|
@ -52,5 +68,5 @@ window.WEB_API_MANAGER.defaults.aggressive = window.WEB_API_MANAGER.defaults.con
|
||||||
"User Timing Level 2",
|
"User Timing Level 2",
|
||||||
"W3C DOM4",
|
"W3C DOM4",
|
||||||
"Web Notifications",
|
"Web Notifications",
|
||||||
"WebRTC 1.0"
|
"WebRTC 1.0: Real-time Communication Between Browser"
|
||||||
]);
|
]);
|
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,11 @@
|
||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
|
"applications": {
|
||||||
|
"gecko": {
|
||||||
|
"id": "webapimanager@peteresnyder.com",
|
||||||
|
"strict_min_version": "54.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"name": "WebAPI Manager",
|
"name": "WebAPI Manager",
|
||||||
"version": "0.9.3",
|
"version": "0.9.3",
|
||||||
"description": "Improves browser security and privacy by controlling page access to the Web API.",
|
"description": "Improves browser security and privacy by controlling page access to the Web API.",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"info": {
|
"info": {
|
||||||
"name": "Document Object Model (DOM) Level 1 Specification",
|
"name": "DOM Level 1",
|
||||||
"subsection_number": null,
|
"subsection_number": null,
|
||||||
"subsection_name": null,
|
"subsection_name": null,
|
||||||
"url": "https://www.w3.org/TR/REC-DOM-Level-1/"
|
"url": "https://www.w3.org/TR/REC-DOM-Level-1/"
|
||||||
|
|
Loading…
Add table
Reference in a new issue