Basic

What an extension is

An extension is a script that runs in a page that is not yours. The page is the reason the script has limits, and the limits are the whole subject.

What you will see

4. Four parts is the claim of the subject.

About 1 min of reading

Try It

Write the limit first

1

Write the limit file

printf 'hosts=example.com\n' > /tmp/l.txt; cat /tmp/l.txt

Before you run it, say out loud what it will print. Then open the answer.

What it prints
One host. A written limit is a file a reader checks.
2

Name the order

printf 'page 1 script 2\n' | awk '{print $4}'

Before you run it, say out loud what it will print. Then open the answer.

What it prints
2. The script runs after the page, which is the order.
3

Name the four parts

printf 'limit read change answer\n' | wc -w

Before you run it, say out loud what it will print. Then open the answer.

What it prints
4. Four parts is the claim of the subject.

Data Flow

A limit to a changed page
1 The limit is written as a file
↓
2 The page is read as a query
↓
3 The change is made under the rule
↓
4 The answer is written as a report
Why this works
Why an extension is not a website

A website answers. An extension changes. Changing is what makes a limit necessary.

The claim of this subject

A written limit, a read page, a changed page, an answer. Four parts, and four parts is what every later lesson shapes.

Examples

The page is not yours

You did not write it. A page you did not write is a page you may not change without a rule.

The script runs after the page

After is the order. The order is why a change can be seen and a change can be undone.

The limit is written

The limit is a file. A file is what a reader checks before the script runs.

Words this lesson uses

Each one is defined here on this site. Open the entry for the full definition and the other words it points at.

Next Lesson
The manifest as the contract
The manifest as the contract →