Ishmaeel / CrackbookRevival

Chrome extension for discouraging the use of attention-sucking websites
Other
33 stars 13 forks source link

Blocking only the index page but not subpages #12

Open ajusa opened 4 years ago

ajusa commented 4 years ago

See issue from old project: https://github.com/gintas/crackbook/issues/20

Basically, is there any way to block example.com without blocking example.com/custom/page.html?

Ishmaeel commented 4 years ago

Right now it's not possible. Matching code only checks if the current URL "starts" with a blocked domain name. There is no support for advanced matching features such as regexes.

Maybe some day.