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) 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/. -
Or for simplicity, you can write a regex pattern such as
/techcrunch.com/
to look for the exact string "techcrunch.com" within a URL.
How to use Auto-run feature on Reader Mode
- Click on the "Settings" menu
- On the "Auto-run" rules section, enter your regex pattern seperated by comas
- Click save