As a side note - I assume your code is kind of wrong, since you are using
browserAction and pageAction in the same extension, which is not possible
(as far as I recall).

☆PhistucK


On Wed, Jan 6, 2010 at 00:35, Darth Caniac <darthcan...@gmail.com> wrote:

> 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<chromium-extensions%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/chromium-extensions?hl=en.
>
>
>
>
--
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