Editing the source code for Google Chrome

728 views
Skip to first unread message

Mahesh

unread,
Jan 10, 2011, 5:38:37 AM1/10/11
to Chromium-discuss
Hi all,

I'm a regular user of google chrome. Now I want to customize my google
chrome and make one small change in the page. If I select a text in a
webpage and right click I get the following options <copy> <Search
google for XXXXX> . I want to add one more element rto the list say I
want to search the data in IMDB , how can I go about and do that.
I'm not new to coding.Where as I'm totally new to google chrome code,
honestly I don't know where will it reside in my computer itself.

Thanks,
Mahesh

PhistucK

unread,
Jan 10, 2011, 6:06:44 AM1/10/11
to magesh...@gmail.com, Chromium-discuss
Fear not! Forget about the gigantic source code of Chromium, you can do that by using the extension system of the browser!
:)

If you know JavaScript\CSS\HTML, then you only have to learn how to use the extension JavaScript APIs and you can do that within minutes (if not seconds ;)).
To start, read the documentation.
The documentation for the contextMenus API, which is what you need to actually add that context menu option, can be found here.

If you need help (after you tried it yourself, first, of course and read the documentation), search the chromium-extensions group for related issues. If you do not find any previous thread helpful, start a new one.

Enjoy!

PhistucK




--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
   http://groups.google.com/a/chromium.org/group/chromium-discuss

Reply all
Reply to author
Forward
0 new messages