<commit_before><div id="pageData-title" class="pageData">Tutorial: Getting Started (Hello, World!)</div>
<div id="pageData-showTOC" class="pageData">true</div>

<p>
This tutorial walks you through creating a simple extension.
You'll add a button to Google Chrome
that, when clicked, displays an automatically generated page.
The button and page will look something like this:
</p>

<img src="images/hello_world-page-small.gif"
  width="291" height="184"
  alt="a window with a grid of images related to HELLO WORLD" />

<h2 id="browser">Get your browser ready</h2>

<p>To develop extensions for Google Chrome,
you need to <a href="http://dev.chromium.org/getting-involved/dev-channel">subscribe
to the dev channel</a> of Google Chrome for Windows.
</p>

<p>
<b>Note:</b> This tutorial requires Windows.
You can try it on Linux and OS X, and it might work,
but the extensions support is less stable on those platforms.
We're working hard to bring them up to speed.
</p>

<h2 id="load">Create and load an extension</h2>
<p>
In this section, you'll write a <em>toolstrip</em> &mdash;
an extension
that puts a bit of UI into the <em>toolbar</em>
at the bottom of the Google Chrome window.
</p>

<ol>
  <li>
    Create a folder somewhere on your computer to contain your extension's code.
    We'll assume the folder is located at
    <strong><code>c:\myext</code></strong>,
    but it can be anywhere.
  </li>
  <li>
    Inside your extension's folder,
    create a text file called <strong><code>manifest.json</code></strong>,
    and put this in it:
<pre>{
  &quot;name&quot;: &quot;My First Extension&quot;,
  &quot;version&quot;: &quot;1.0&quot;,
  &quot;description&quot;: &quot;The first extension that I made.&quot;,
  &quot;toolstrips&quot;: [
    &quot;my_toolstrip.html&quot;
  ]
}</pre>
  </li>
  <li>
    In the same folder, create a text file called
    <strong><code>my_toolstrip.html</code></strong>,
    and put this in it:
<pre>&lt;div class=&quot;toolstrip-button&quot;&gt;
  &lt;span&gt;Hello, World!&lt;/span&gt;
&lt;/div&gt;</pre>
  </li>
  <li> Load the extension.
    <ol type="a">
      <li>
      Bring up the Extensions management page by going to this URL:
      <blockquote>
      <b>chrome://extensions</b>
      </blockquote>
      </li>

      <li>
      Click the <b>Load unpacked extension</b> button.
      A file dialog appears.
      </li>

      <li>
      In the file dialog,
      navigate to your extension's folder<commit_msg>Add "permissions" to Getting Started manifest. Oops.<commit_after><div id="pageData-title" class="pageData">Tutorial: Getting Started (Hello, World!)</div>
<div id="pageData-showTOC" class="pageData">true</div>

<p>
This tutorial walks you through creating a simple extension.
You'll add a button to Google Chrome
that, when clicked, displays an automatically generated page.
The button and page will look something like this:
</p>

<img src="images/hello_world-page-small.gif"
  width="291" height="184"
  alt="a window with a grid of images related to HELLO WORLD" />

<h2 id="browser">Get your browser ready</h2>

<p>To develop extensions for Google Chrome,
you need to <a href="http://dev.chromium.org/getting-involved/dev-channel">subscribe
to the dev channel</a> of Google Chrome for Windows.
</p>

<p>
<b>Note:</b> This tutorial requires Windows.
You can try it on Linux and OS X, and it might work,
but the extensions support is less stable on those platforms.
We're working hard to bring them up to speed.
</p>

<h2 id="load">Create and load an extension</h2>
<p>
In this section, you'll write a <em>toolstrip</em> &mdash;
an extension
that puts a bit of UI into the <em>toolbar</em>
at the bottom of the Google Chrome window.
</p>

<ol>
  <li>
    Create a folder somewhere on your computer to contain your extension's code.
    We'll assume the folder is located at
    <strong><code>c:\myext</code></strong>,
    but it can be anywhere.
  </li>
  <li>
    Inside your extension's folder,
    create a text file called <strong><code>manifest.json</code></strong>,
    and put this in it:
<pre>{
  &quot;name&quot;: &quot;My First Extension&quot;,
  &quot;version&quot;: &quot;1.0&quot;,
  &quot;description&quot;: &quot;The first extension that I made.&quot;,
  &quot;toolstrips&quot;: [
    &quot;my_toolstrip.html&quot;
  ],
  &quot;permissions&quot;: [
    &quot;http://api.flickr.com/&quot;
  ]
}</pre>
  </li>
  <li>
    In the same folder, create a text file called
    <strong><code>my_toolstrip.html</code></strong>,
    and put this in it:
<pre>&lt;div class=&quot;toolstrip-button&quot;&gt;
  &lt;span&gt;Hello, World!&lt;/span&gt;
&lt;/div&gt;</pre>
  </li>
  <li> Load the extension.
    <ol type="a">
      <li>
      Bring up the Extensions management page by going to this URL:
      <blockquote>
      <b>chrome://extensions</b>
      </blockquote>
      </li>

      <li>
      Click the <b>Load unpacked extension</b> button.
      A file dialog appears.
      </li>

      <li>
      In the file dialog,
      navigate to your extension's folder
{'fraction_non_alphanumeric': 0.13418023025009926, 'fraction_numerical': 0.004763795156808257, 'mean_word_length': 3.7181647940074907, 'pattern_counts': {'":': 0, '<': 125, '<?xml version=': 0, '>': 125, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3396323', 'n_tokens_mistral': 1680, 'n_tokens_neox': 1632, 'n_words': 583}