/
340.txt
64 lines (48 loc) · 2.41 KB
/
340.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[1]
''Simon Willison: Site specific stylesheets in Mozilla'' <http://simon.incutio.com/archive/2004/08/19/specific>
([[名無しさん]])
[2]
''Bug 238099 - implement at-rule for matching on site/document URL'' <http://bugzilla.mozilla.org/show_bug.cgi?id=238099>
([[名無しさん]])
[3]
[CITE[Latest topics > Past > 2004 > 08 - outsider reflex]] <http://piro.sakura.ne.jp/latest/2004/08.html#d22-at-moz-document>
([[名無しさん]])
[4]
[PRE(CSS example)[
@-moz-document url-prefix(http://www.w3.org/Style/) {
body {
font-size: x-small !important;
}
}
]PRE]
([[名無しさん]])
[5]
[[Firefox]] の場合 1.1 以降で使えます。
([[名無しさん]])
[6]
[[Firefox]] 2 では、 [CODE(CSS)[@[[media]]]] 内で
[CODE(CSS)@en[@[[-moz-document]]]] を使ったり、その逆はできないようです。
([[名無しさん]])
[7]
>>6 [CODE(CSS)@en[@[[-moz-document]]]] 内で
[CODE(CSS)@en[@[[-moz-document]]]] を使うこともできないようです。
[8] [CITE@en-US[csswg: changeset 6838:117c3502294d]]
( ([TIME[2013-07-07 01:05:18 +09:00]] 版))
<https://dvcs.w3.org/hg/csswg/rev/117c3502294d>
[9] [CITE@en[per-site user stylesheet rules]]
( ([[L. David Baron]] 著, [TIME[2004-08-20 06:06:54 +09:00]] 版))
<http://lists.w3.org/Archives/Public/www-style/2004Aug/0135>
[10] [CITE@en[Re: Domain selectors]]
([[L. David Baron]] 著, [TIME[2015-03-08 05:10:45 +09:00]] 版)
<https://lists.w3.org/Archives/Public/www-style/2015Mar/0095.html>
[11] [CITE@en[1035091 – limit @-moz-document to user and UA sheets (Makes it useless for exfiltration in CSS-injection attacks)]]
([TIME[2015-03-09 14:45:08 +09:00]] 版)
<https://bugzilla.mozilla.org/show_bug.cgi?id=1035091>
[FIG(quote)[
[FIGCAPTION[
[12] [CITE@ja[@-moz-document 対応が打ち切られました | Firefox サイト互換性情報]]
([TIME[2015-11-05 06:12:09 +09:00]] 版)
<https://www.fxsitecompat.com/ja/docs/2015/moz-document-support-has-been-dropped/>
]FIGCAPTION]
> @-moz-document ルールが Web コンテンツから使用できなくなりました。これは、第三者サイトの URL に含まれる機密データを盗み出す目的で、攻撃者による CSS インジェクションに悪用される恐れがあったためです。Firefox ユーザは引き続きユーザスタイルシート内でこのルールを使い、ブラウジング体験をパーソナライズすることが可能です。
]FIG]