Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I create a new style for a given page, like here:
Stylebot Options

How can I make the style apply only to the home page of that site?

  • http://superuser.com should be affected.
  • http://superuser.com/questions shouldn't be affected.
share|improve this question

1 Answer 1

up vote 0 down vote accepted

Short answer

You can't right now.

Long answer

Stylebot support 2 methods of matching a style against a given URL.

  • Simple substring matching
  • Something that looks like a pattern matching approach

You can get into the second mode by putting a * anywhere in the URL. But the only option that this enables you, is to use the placeholder *. The star means any amount of any character and is as useless as the night is dark.

This is especially mind-boggling because the extension is perfectly equipped to use the pattern as a regular expression, but intentionally doesn't.

Feel free to use my own fork that removes this limitation.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.