-
如果可以的话请教具体写法,谢谢!
◆
◆
-
alanfly:
第一个baidu:@-moz-document regexp("^https?://(?!weibo.com|\\w+\\.baidu\\.com).*")
第二个file:上面的就已经排除本地file:///了,如果要保留就如下。
@-moz-docume...(2015-05-25 21:36)
-
tulip17:
高人
再请教,同时还想排除所有baidu.com网址,怎么写?就是baidu.com和*.baidu.com
另外,再加上本地地址file:///,排除和保留分别该怎样写?麻烦你了(2015-05-25 21:06)
-
alanfly:
加上http补完url就可以了。
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document regexp("^https?://(?!weibo.com).*")(2015-05-25 19:45)
-
tulip17:
请教,想排除weibo.com,但又想保留s.weibo.com,正则式该怎样写?(2015-05-25 19:30)
-
alanfly:
排除前面不能用.*。
我试了下单独排除tn=baidurt可以,在排除前面加.*就失效了,试试用更精确的正则代替前面的.* 。(2015-05-25 18:48)
-
tulip17:
谢谢,可以了
我是这样用的
@-moz-document regexp("((?!weibo.com|file:///).)*")
正则式还不太明白,我用笨方法,为s.weibo.com单独指定了样式(2015-05-25 12:14)
-
hzhbest:
我之前参考一个全局字体样式中的排除规则:
@-moz-document regexp("((?!data:text/html.*rel='stylesheet'%20href='chrome://browser/content/devto...(2015-05-25 10:38)
-
tulip17:
测试(2015-05-25 09:57)
返回顶部