title: Activate Firefox tab in Greasemonkey/Javascript? Is this possible?
body: <p>I developed a greasemonkey script that refreshes a page and checks for certain updates. I would like to run this script in a tab and browse the internet in another tab, but then have the script automatically activate it's tab when an update is found.</p>
  
  <p>Im not sure how clear that was, maybe this is better:</p>
  
  <p>Tab 1 is running a greasemonkey script, refreshing every x seconds looking for the word "foo"</p>
  
  <p>Tab 2 is browsing stackoverflow</p>
  
  <p>-- Now on a refresh, the GM script finds the word "foo". This is when I want the tab focus to automatically shift from Tab 2 to Tab 1.</p>
  
  <p>Is this possible, and if so, how do I achieve this?</p>
  
  <p>Thanks.</p>