mobile-config-firefox/content/limit_css_data_leak.css

37 lines
1.1 KiB
CSS
Raw Normal View History

2018-10-21 17:44:14 +02:00
/* Limit CSS data leak, POTENTIALLY BREAKS SOME SITES */
2018-12-06 20:38:02 +01:00
@namespace html url("http://www.w3.org/1999/xhtml");
2018-10-21 17:44:14 +02:00
body input:not([value=""])[type],
body input:not([value=""])[type]:focus ~ *,
body input:not([value=""])[type] * {
background-image: none !important;
border-image: none !important;
font-family: inherit !important;
list-style-image: none !important;
cursor: unset !important;
content: none !important;
}
body input:not([value=""])[type]::before,
body input:not([value=""])[type]:focus ~ *::before,
body input:not([value=""])[type] *::before,
body input:not([value=""])[type]::after,
body input:not([value=""])[type]:focus ~ *::after,
body input:not([value=""])[type] *::after {
content:none !important;
}
/* Remove the comment to apply more strict version, causes even more trouble */
/*
body input:not([value=""])[type] ~ *{
background-image: none !important;
border-image: none !important;
font-family: inherit !important;
list-style-image: none !important;
cursor: unset !important;
content: none !important;
}
body input:not([value=""])[type] ~ *::before,
body input:not([value=""])[type] ~ *::after{
content:none !important;
}
*/