stylebot.me
has been down for a while, so I create this gist to help those who need document on pattern settings.
By default, Stylebot uses simple text strings to match styles to websites. Examples:
docs.google.com
: Matches any URL withdocs.google.com
in it.docs.google.com, spreadsheets.google.com
: Matches any URL withdocs.google.com
orspreadsheets.google.com
in it.
Stylebot supports wildcards **
, *
and ,
**
matches any character sequence. Examples:docs**
: Any URL beginning withdocs
.
*
matches any character sequence, until a/
is found.docs*.google.com
: This will matchhttps://docs.google.com
,https://docs1.google.com
,https://docs2.google.com
and so on.*.ycombinator.com
: This will matchhttps://news.ycombinator.com
andhttps://apps.ycombinator.com
,
separates a list of advanced patterns. Matches a URL if any sub-pattern matches it.
Stylebot treats a string as a regex if it start it with ^
. Examples:
^https://www.reddit.com/$
: This matches only the Reddit homepage.
THANK YOU!! Been wondering how to get the patterns working!