Creating a banner in chrome browser using "chrome extension" like "Google Translate extension" creates a banner in the page.

1,185 views
Skip to first unread message

chrome newbie

unread,
Jul 1, 2010, 6:40:50 PM7/1/10
to Chromium-extensions
Hi,

I am new to this group and new to chrome extensions. I am trying to
create an extension like "Google Translate" extension which creates a
banner in the page for translation which also has a close button on
the right hand side.

here is the link for that extension.
https://chrome.google.com/extensions/detail/aapbdbdomjkkjkaonfhkkikfgjllcleb

Also, Chrome display a banner in startup if Chrome is not a default
browser on top of the page. Can I create that kind of banner/band
using chrome extensions.

Thanks in Advance for your help.

- A Newbie

Brian Kennish

unread,
Jul 2, 2010, 4:31:17 PM7/2/10
to chrome newbie, Chromium-extensions
On Thu, Jul 1, 2010 at 3:40 PM, chrome newbie <chrom...@gmail.com> wrote:
> I am trying to create an extension like "Google Translate" extension
> which creates a banner in the page for translation which also has a
> close button on the right hand side.

This kind of UI can be added to a production extension by injecting
arbitrary code into selected pages with a content script
<http://code.google.com/chrome/extensions/content_scripts.html> or
"chrome.tabs.executeScript"
<http://code.google.com/chrome/extensions/tabs.html#method-executeScript>.

> Also, Chrome display a banner in startup if Chrome is not a default
> browser on top of the page. Can I create that kind of banner/band
> using chrome extensions.

You can, with the experimental infobar API
<http://code.google.com/chrome/extensions/dev/experimental.infobars.html>.

Syed Naqvi

unread,
Jul 6, 2010, 2:18:45 PM7/6/10
to Brian Kennish, Chromium-extensions
Thanks for Helping out Brian! infobar works with that API.

What is the future of experimental APIs?

Thanks!

PhistucK

unread,
Jul 6, 2010, 3:18:04 PM7/6/10
to Syed Naqvi, Brian Kennish, Chromium-extensions
It is undecided. They may break or disappear at any time.

☆PhistucK


--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To post to this group, send email to chromium-...@chromium.org.
To unsubscribe from this group, send email to chromium-extens...@chromium.org.
For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.

Brian Kennish

unread,
Jul 6, 2010, 4:32:34 PM7/6/10
to Syed Naqvi, Chromium-extensions
On Tue, Jul 6, 2010 at 11:18 AM, Syed Naqvi <chrom...@gmail.com> wrote:
> What is the future of experimental APIs?

They're prototypes -- we aim to get feedback, improve them, and turn
the good parts into stable APIs. The history API, for example, started
out as an experimental API.

Syed Naqvi

unread,
Jul 6, 2010, 4:39:30 PM7/6/10
to Brian Kennish, Chromium-extensions
Thats good! there are some chances that it become a regular APIs...

Its a cool feature of Chrome extension to display a infobar without any hassle. 

Thanks!
Reply all
Reply to author
Forward
0 new messages