Skip to content

Commit

Permalink
Added README for tutorial.reading_time in functional_samples (#1138)
Browse files Browse the repository at this point in the history
* Added readme for tutorial.reading-time

* Added README.md for tutorial.readingtime

* Added README.md for tutorial.readingtime

* Added README.md for tutorial.readingtime

* Delete functional-samples/tutorial.reading-time/images/README.md

* Update README.md
  • Loading branch information
mahitoburrito committed May 8, 2024
1 parent 9dbbae3 commit c04f62a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions functional-samples/tutorial.reading-time/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Tutorial: Run scripts on every page

This sample demonstrates how to run scripts on any Chrome extension and Chrome Web Store documentation page using an extension called _Reading Time_.

## Overview

This sample demonstrates how developers can use content scripts which employ Document Object Models to read and change the content of a page. In this instance, the extension checks to find an article element, counts all the words inside of it, and then creates a paragraph that estimates the total reading time for that article.

## Running this extension

1. Clone this repository.
2. Load this directory in Chrome as an [unpacked extension](https://developer.chrome.com/docs/extensions/mv3/getstarted/development-basics/#load-unpacked).
3. Navigate to a Chrome extension or Chrome Webstore documentation page with an article element. [Here](https://developer.chrome.com/docs/webstore/publish) is an example of a webpage with an article element.
4. The extension will provide an estimated reading time for the text in that article element. Here is the [link](https://developer.chrome.com/docs/extensions/get-started/tutorial/scripts-on-every-tab) for the full instructions.

0 comments on commit c04f62a

Please sign in to comment.