…
|
||
---|---|---|
.. | ||
README.md | ||
manifest.json | ||
service-worker.js |
README.md
Page Redder
This sample demonstrates how to use the chrome.action API to execute code when the extension icon is clicked.
Overview
This extension changes the background color of the active tab page (if its URL doesn't start with chrome://
) to red when the extension icon is clicked.
Running this extension
- Clone this repository.
- Load this directory in Chrome as an unpacked extension.
- Navigate to any page (make sure that the URL doesn't start with
chrome://
). - Click the extension icon.