tor-browser

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

timestamp-subframe.html (504B)


      1 <!DOCTYPE html>
      2 <style>
      3 #target {
      4  width: 100px;
      5  height: 100px;
      6  background-color: green;
      7 }
      8 .spacer {
      9  width: height: 100px
     10 }
     11 </style>
     12 
     13 <div class="spacer"></div>
     14 <div id="target"></div>
     15 <div class="spacer"></div>
     16 
     17 <script>
     18 document.createObserverCallback = function(entries) {
     19  return function(newEntries) {
     20    for (var i in newEntries) {
     21      entries.push(newEntries[i]);
     22    }
     23  };
     24 }
     25 document.createObserver = function(callback) {
     26  return new IntersectionObserver(callback, {});
     27 };
     28 </script>