tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

webxr_check.html (350B)


      1 <script src=webxr_util.js></script>
      2 <script>
      3 'use strict';
      4 let definedObjects = [];
      5 let undefinedObjects = [];
      6 
      7 forEachWebxrObject((obj, name) => {
      8    if(obj == undefined) {
      9        undefinedObjects.push(name);
     10    } else {
     11        definedObjects.push(name);
     12    }
     13 });
     14 
     15 window.parent.postMessage({ undefinedObjects, definedObjects}, '*');
     16 
     17 </script>