Dear Developers, Extensions Context Menu is API Ready for You

by Dinu

chrome news  Dear Developers, Extensions Context Menu is API Ready for You

Context Menu in Chrome

Extensions Context Menu API is ready for you to explore, developer friends of mine. This is one of the features developers have been crying out for a long time and was being implemented behind the –enable-experimental-apis flag to  collect developer feedback.

What is Extensions Context Menu API

In simple words, it will provide a way for extensions to add items to the context (aka “right click”) menu for web pages.

Many features that extensions want to expose are only applicable to certain kinds of content. Some examples include saving selected text or link urls to a extension-local or web based notepad, removing particular images from a page, filling in form fields, and looking up words in an online dictionary.

Now in Google Chrome Beta, developers can do just that. The new context menu API allows extension developers to register menu items for all pages or for a subset of pages. Developers can also register menu items for specific operations, like right-clicking on an image or movie.

For example, you could create an extension that makes it easy for users to share interesting images from images.google.com with their friends on Google Buzz.

Some users have lots of extensions installed. To help these users avoid ending up with gigantic unwieldy context menus, Google Chrome automatically groups multiple menu items from the same extension into a sub-menu.

says Chromium Blog.

Two More APIs Implimented – Hack the Omni Box and Add Info Bar

  • The omnibox API allows extension developers to integrate with the browser’s omnibox. With this API, you can build custom search support for your favorite website, keyboard macros to automate tasks, or even a chat client right into the omnibox.
  • The infobars API allows extension developers to display infobars across the top of a tab. These infobars are built using normal HTML, so they can be heavily customized and interactive.

If you develop something cool, Google will sent you free hoodies and make you a featured developer ! May be this is how they are planning to spend the money that they are collecting from developers ( $5 each ) for verification.  Read more here.

Previous post:

Next post: