tor-browser

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

1545133.html (849B)


      1 <html class="reftest-wait">
      2 <head>
      3 <script>
      4 const xhr = new XMLHttpRequest()
      5 
      6 async function boom () {
      7  await new Promise(r => setTimeout(r, 100))
      8 
      9  SpecialPowers.forceCC()
     10  SpecialPowers.forceCC()
     11  SpecialPowers.forceCC()
     12 
     13  document.documentElement.removeAttribute("class")
     14 }
     15 
     16 function start () {
     17  const context = new AudioContext({})
     18  const filter = new BiquadFilterNode(context, {})
     19  const destination = context.createMediaStreamDestination()
     20  const processor = context.createScriptProcessor(8192, 8, 8)
     21  processor.connect(filter.Q)
     22  processor.disconnect()
     23  xhr.open('G', '', false)
     24  xhr.send()
     25  context.createMediaStreamSource(destination.stream)
     26  processor.connect(filter.Q)
     27  context.close()
     28  context.addEventListener('statechange', boom, true)
     29 }
     30 
     31 document.addEventListener('DOMContentLoaded', start)
     32 </script>
     33 </head>
     34 </html>