Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.55 KB

notes.md

File metadata and controls

28 lines (20 loc) · 1.55 KB

Get Started Developing

  • Open Window > Extensions.
  • Check Developer mode box.
  • Click the Load unpacked extension button. A file dialog appears.
  • In the file dialog, navigate to WebPageDiff and click OK.
  • Click on _generated_background_page.html. Welcome to a REPL.
  • Visit a page in a new tab.
  • Find the green puzzle browser action button.
  • Click on it. With any luck, the html for the page will show up in the log.

Interesting Chrome Extension Docs

Overview of the technology. Set things up in the Manifest File. Click on a Browser Action Button to add a page to Web Page Diff. Background Pages serves as our worker process. In the future we would use Event Pages but the periodic alarms api "requires Google Chrome dev channel or newer". Content Scripts patch an already loaded page.

Look at the Tutorial to Get Started. Follow with the Debugging Tutorial.

Steal code from Samples.

chrome.* API

XMLHTTPRequest basics.