Home | History | Annotate | Download | only in static
      1 <div id="pageData-name" class="pageData">WebRequest API</div>
      2 
      3 <!-- BEGIN AUTHORED CONTENT -->
      4 <p id="classSummary">
      5 Use the <code>chrome.experimental.webRequest</code> module to intercept, block,
      6 or modify requests in-flight. This module is still very much experimental. For
      7 information on how to use experimental APIs, see the
      8 <a href="experimental.html">chrome.experimental.* APIs</a> page.
      9 </p>
     10 
     11 <h2>A note about timestamps</h2>
     12 <p>
     13 It's important to note that some technical oddities in the OS's handling
     14 of distinct Chrome processes can cause the clock to be skewed between the
     15 browser itself and extension processes. That means that WebRequest's events'
     16 <code>timeStamp</code> property is only guaranteed to be <i>internally</i>
     17 consistent. Comparing one event to another event will give you the correct
     18 offset between them, but comparing them to the current time inside the
     19 extension (via <code>(new Date()).getTime()</code>, for instance) might give
     20 unexpected results.
     21 </p>
     22 <!-- END AUTHORED CONTENT -->
     23