<commit_before># Basic Browser Extension

This project contains a basic, working browser extension for Google Chrome. Follow this readme to:
* Get the code
* Load the extension in your browser
* Make some minor changes
* Re-load the extension with your changes


## Requirements

* [git](https://git-scm.com/downloads)
* [Google Chrome](https://www.google.com/chrome/browser/desktop/)


## Get the Code

Download the code for this project by using git clone:
```bash
git clone https://github.com/Learn-by-doing/basic-browser-extension.git
```


## Load the Extension in Chrome

* Open the `chrome://extensions` page in your browser. You should see a list of all the extensions that you have installed.
* Click the "Load unpacked extension..." button in the top left corner.
* Select the `basic-browser-extension` directory.

If the extension is valid, it will be loaded up and active immediately. If it is invalid, an error message will be shown at the top of the page. If that happens, fix the error and click "Retry".



## Make a Change
<commit_msg>Updated readme with missing step<commit_after># Basic Browser Extension

This project contains a basic, working browser extension for Google Chrome. Follow this readme to:
* Get the code
* Load the extension in your browser
* Make some minor changes
* Re-load the extension with your changes


## Requirements

* [git](https://git-scm.com/downloads)
* [Google Chrome](https://www.google.com/chrome/browser/desktop/)


## Get the Code

Download the code for this project by using git clone:
```bash
git clone https://github.com/Learn-by-doing/basic-browser-extension.git
```


## Load the Extension in Chrome

* Open the `chrome://extensions` page in your browser. You should see a list of all the extensions that you have installed.
* Check the "Developer mode" checkbox in the top right corner.
* Click the "Load unpacked extension..." button in the top left corner.
* Select the `basic-browser-extension` directory.

If the extension is valid, it will be loaded up and active immediately. If it is invalid, an error message will be shown at the top of the page. If that happens, fix the error and click "Retry".



## Make a Change

{'fraction_non_alphanumeric': 0.08600182982616651, 'fraction_numerical': 0.0, 'mean_word_length': 4.0742459396751745, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1104560', 'n_tokens_mistral': 596, 'n_tokens_neox': 566, 'n_words': 294}