Thank you again.

<html>
<head>
<script>


chrome.tabs.onUpdated.addListener(function(tabId, Tab(url()), tabId:
tab.id) {
   // Do what you want
  chrome.browserAction.setTitle({title: "Changed!", tabId: tab.id});
  chrome.pageAction.setIcon({tabId: tab.id, path: "icon.png"})
  chrome.pageAction.show(tabId: tab.id)
  });

</script>
</head>
<body>
<canvas id="canvas" width="19" height="19"></canvas>
</body>
</html>

In theory, that should fire every time the tabs url changes, and it
should set the tool tip for my browser icon to "Changed!", however,
the Icon never show up :/
-- 
You received this message because you are subscribed to the Google Groups 
"Chromium-extensions" group.
To post to this group, send email to chromium-extensi...@googlegroups.com.
To unsubscribe from this group, send email to 
chromium-extensions+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/chromium-extensions?hl=en.


Reply via email to