如何防止CSS样式影响所有网站

时间:2016-02-24 05:48:03

标签: css firefox styles stylish

在将CSS样式应用于网站时,我遇到了Firefox浏览器的问题。我也使用样式表。低于PlayStore和Craigslist的规则。他们在预定的网站上工作,但他们也在全球范围内工作,影响我访问的所有网站。如何在不影响其他网站的情况下将它们解压缩到PlayStore和Craigslist?

@ - moz-document url-prefix(“https://play.google.com/store”){

@ - moz-document url-prefix(“http://newyork.craigslist.org”),域名(craigslist.org){

在我看来,每个网址中由规则中的句点分隔的2个单词可能是问题,例如“play.store”和newyork.craigslist“。我这样说是因为我只使用其他样式其统治中的“一个”字,它们的工作不会影响其他网站。

1 个答案:

答案 0 :(得分:0)

看起来您还必须指定域

@-moz-document domain('images.example.com'), url-prefix('http://example.com/images') {

https://github.com/JasonBarnabe/stylish/wiki/Applying-styles-to-specific-sites