Extensions Context Menu API Coming to Google Chrome

by Dinu

Extensions Context Menu API Coming to Google Chrome. Developers who are reading this post might have understood what the big deal about this news is. For others like me, this needs a little introduction.

Just be happy that Extensions will get more power with this feature and users, like you and me will benefit more !

cDkPAEz a Chromestory.com reader ( and now a friend of mine chrome extensions  Extensions Context Menu API Coming to Google Chrome ) who sent me this news ( thanks a million bro ! ) says this is one of the features developers have been crying out for a long time. This feature is being implemented behind the –enable-experimental-apis flag to  collect developer feedback. Should be landing in the tree relatively soon.

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.

It will look something like this.

chrome extensions  Extensions Context Menu API Coming to Google Chrome

So, this API will give extensions the power to add items/actions to the menu you get when you right click on a webpage. For example, tweet the webpage that you are on ?

If you are a developer, you can check out this page for detailed info.

Have questions ? Got Tips to Share ? Contact me ! and thanks again cDkPAEz !

j ferguson August 11, 2010 at 5:58 pm

It looks as though this api may do what I’m looking for. I’ve cobbled together a a couple of scripts which accept a blog url, strip off the sidebars and graphics, write a “clean” html to file, then convert that file to MOBI for Kindle reading.

letting me add this function call to the Chrome Link RightClick context menu would be wonderful.

How are you coming with this?

chrome story August 11, 2010 at 6:26 pm

Looks like a cool idea :) isnt this possible without this API as of now, I mean, if we sacrifice the idea of right click to access the option ?

j ferguson August 11, 2010 at 10:12 pm

I’m running Ubuntu. Over in the Ubuntu applications menu, I have a drop-down accessible thing, which when triggered brings up a command screen which says “URL?” and accepts a pasted url copied from the web-page. Then Perl does its thing and I get a MOBI listing which I can load on the Kindle where it is a whole lot easier to read dozens of pages than on the notebook screen.

All I need is one more line on the Links context.sensitive menu for dealing with URLs.

I haven’t been able to figure out hoe to do it and it does look like those Chrome menus are inaccessible unless I really really want to get into it.

Am I missing something obvious?

chrome story August 12, 2010 at 2:48 am

I am not sure about this, sorry .. can you try the chromium forums ?

{ 2 trackbacks }

Previous post:

Next post: