- 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.
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.
XMLHTTPRequest basics.