From 5b10a10743b8459f64fe83e0ff420f69da79c9a4 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Thu, 28 Jul 2022 15:32:10 +1000 Subject: Moving scripts and utilities into a new utilities dir --- utilities/nontrivial utility/README | 4 + utilities/nontrivial utility/nontriv.html | 135 ++++++++++++++++++++++++++++++ 2 files changed, 139 insertions(+) create mode 100644 utilities/nontrivial utility/README create mode 100644 utilities/nontrivial utility/nontriv.html (limited to 'utilities/nontrivial utility') diff --git a/utilities/nontrivial utility/README b/utilities/nontrivial utility/README new file mode 100644 index 0000000..1947bd0 --- /dev/null +++ b/utilities/nontrivial utility/README @@ -0,0 +1,4 @@ + +A utility that generates the JSON that the background script uses to determine if something is user defined, trivial or nontrivial. + +It is important to recognize that the objects that this script finds are likely dependent on what browser this script is running on since it gets the list by reading the contents of the global object. Make sure this is run on an up to date browser. diff --git a/utilities/nontrivial utility/nontriv.html b/utilities/nontrivial utility/nontriv.html new file mode 100644 index 0000000..aaf49ba --- /dev/null +++ b/utilities/nontrivial utility/nontriv.html @@ -0,0 +1,135 @@ + + + + + + + + +This page allows us to generate the allowed/disallowed object JSON. +
+
+We know it's up to date because it iterates over all keys of the window variable (which is the global object for browsers) +
+
+(True = nontrivial, false = trivial) +


+ +
+ +
+ +
+

+
+ +
WebGL
+
+
SVG
+
+
HTML
+
+
CSS
+
+
Events
+
+
WebRTC
+
+
VR
+
+
DOM
+
+
IDB
+
+
Audio
+
+
Gamepad
+
+
Media
+
+
Other events
+
+
All else
+
+ +
+ -- cgit v1.2.3