tor-browser

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

slow.sjs (310B)


      1 function handleRequest(request, response) {
      2   response.processAsync();
      3 
      4   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     5000,
     11     Ci.nsITimer.TYPE_ONE_SHOT
     12   );
     13 }