31

I'm new to Chrome extension development, my first project (to learn) is to create an extension that adds some html to another website's existing page.

I plan on creating a 'page' action which fires for a page with a certain URL...

Has anyone seen a tutorial like this, or do you know of an API for adding html to a page?

Ivan
  • 4,186
  • 5
  • 39
  • 72
Roger Curran
  • 331
  • 1
  • 3
  • 6

2 Answers2

4

You can find some example at Google Sample Extension page, however your question seems better answered on this other question.

Community
  • 1
  • 1
David
  • 2,987
  • 1
  • 29
  • 35
3

There are a number of sample extensions on the Chrome extension API site. There are a couple of browserAction examples that will be almost identical to using pageAction.

abraham
  • 46,583
  • 10
  • 100
  • 152