Harsha M V
Harsha M V

Reputation: 54969

Chrome Plugin Development

I want to get started with Chrome Plugin Development.

After googling i found a few websites to get started.

We are basically looking to develop a plugin for Gmail. On loading Gmail it should start a bar like how SmartR plugin does to the right right of the Gmail Layout as shown below

enter image description here

Any idea how it can be done?

Upvotes: 1

Views: 816

Answers (2)

Methos
Methos

Reputation: 14434

Doing what you are sought out to do is really simple. You have to just write a .css, .js and inject it on only gmail.com domain (manifest.json). Due to chrome's isolated world policy, there won't be any problems between your JS code in the content script and the code on the webpage.

However, you have to isolate your CSS rules from webpage's CSS rules otherwise you might end up screwing webpage's content or your own content. A starting point for that would be: My CSS is not getting injected through my content script

Upvotes: 2

nTraum
nTraum

Reputation: 1426

Google has built a whole site dedicated to Chrome Extension Development: Getting Started: Building a Chrome Extension.

Upvotes: 2

Related Questions