title: Java access in Google Chrome extension to find timezone offset
body: <p>Backstory: I've previously created a Greasemonkey extension for Firefox that converts timestamps to local time by finding the GMT offset of the server location (based on the name of the location it's in) and calling methods from <code>java.util.TimeZone</code> in Javascript. Now I want to create an equivalent extension for Chrome.</p>
  
  <p>The problem is that the <code>java</code> object that I rely on only seems to be available in Firefox (test it out <a href="http://www.apl.jhu.edu/~hall/CWP-Sources/CWP-Examples/Chapter19/CallJava.html" rel="nofollow">here</a>), and as far as I can tell there's still no way to access Java from a Chrome extension (though I may be doing it wrong).</p>
  
  <p>So what I need is either a way to:</p>
  
  <p>1) Access the methods of the <code>java.util.TimeZone</code> class (specifically <code>getTimeZone()</code>, <code>getOffset()</code>, and <code>getDisplayName()</code>) from within the extension.</p>
  
  <p>OR</p>
  
  <p>2) Another way of determining the offset of a location based on its name (eg. like those <a href="http://www.php.net/manual/en/timezones.php" rel="nofollow">here</a>) from within the extension itself, and preferably without any XHR. Proprietary Javascript available in Chrome (if there is any) is also OK.</p>