# Auto-run

Activating Reader Mode's distraction-free reader manually every time can be tiresome, especially when visiting the same websites frequently. That's where an Auto-run feature for Reader Mode comes in.

An Auto-run feature for Reader Mode allows the user to specify websites where Reader Mode should activate automatically, using a [regular expression (regex)](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions) pattern. Regex patterns are powerful tools for matching text, and they can be used to match website URLs too. The user can specify a regex pattern that matches the URLs of the websites they want Reader Mode to activate on automatically.

For example, let's say you frequently read articles on a blog with a URL like *<https://example.com/blog/post/123>*. You could create a regex pattern like `^https://example.com/blog/` to match all URLs that start with *<https://example.com/blog/>*. Or you can create a regex pattern such as `/bbc.co.uk\/news/` to match all URLs that contains *bbc.co.uk/news*. Then, you could pu these patterns on the Auto-run feature settings for Reader Mode to activate on all URLs that match these patterns.

**How to use Auto-run feature on Reader Mode**

* Click on the [Settings menu](/using-reader-mode/reader-mode/reader-mode-settings.md)
* On the `Auto-run rules` section, enter your regex pattern seperated by comas
* Click save

<figure><img src="/files/ZkzvxNNJdHQXpkygmyem" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.readermode.io/using-reader-mode/auto-run.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
