Hides your IP, Ray ID and adds dark mode to the CloudFlare Error Message
当前为
/* ==UserStyle==
@name CloudFlare Error - HIDE YOUR IP
@namespace https://greasyfork.org/en/users/124677-pabli
@version 1.0.0
@description Hides your IP, Ray ID and adds dark mode to the CloudFlare Error Message
@author Pabli
@preprocessor stylus
@var checkbox hideip "Hide IP" 1
@var checkbox darkmode "Dark Mode" 1
==/UserStyle== */
@-moz-document regexp(".*") {
if hideip {
#cf-wrapper #cf-error-details .cf-footer-item, #cf-wrapper #cf-error-details .cf-footer-separator,
#cf-wrapper #cf-error-details .heading-ray-id {
display: none !important;
}
}
if darkmode {
#cf-wrapper #cf-error-details {
height: 100% !important;
}
#cf-wrapper #cf-error-details {
background: #000 !important;
}
#cf-wrapper {
background: #000 !important;
color: #eee !important;
height: 100vh !important;
}
#cf-wrapper #cf-error-details .cf-status-item.cf-error-source:after {
border-bottom: 18px solid #000 !important;
}
#cf-wrapper #cf-error-details .cf-highlight {
background: #151515 !important;
}
#cf-wrapper h1, #cf-wrapper h2, #cf-wrapper h3, #cf-wrapper h4, #cf-wrapper h5, #cf-wrapper h6, #cf-wrapper p {
color: #ddd !important;
}
#cf-wrapper #cf-error-details .cf-error-footer {
border-top: 1px #151515 solid !important;
}
}
}