tor-browser

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

slow.sjs (308B)


      1 function handleRequest(request, response) {
      2   response.processAsync();
      3 
      4   let timer = Cc["@mozilla.org/timer;1"].createInstance(Ci.nsITimer);
      5   timer.init(
      6     function () {
      7       response.write("Here the content. But slowly.");
      8       response.finish();
      9     },
     10     1000,
     11     Ci.nsITimer.TYPE_ONE_SHOT
     12   );
     13 }