mirror of
https://0xacab.org/dCF/deCloudflare.git
synced 2025-01-25 16:49:07 -05:00
Replace cs.js
This commit is contained in:
parent
9ee86f1260
commit
bb2d263a3c
@ -7,21 +7,40 @@ if (document.body && !location.hostname.endsWith('.onion')) {
|
|||||||
if (!document.title.startsWith('[!!MITM')) {
|
if (!document.title.startsWith('[!!MITM')) {
|
||||||
document.title = '[!!MITM!!]' + _tt;
|
document.title = '[!!MITM!!]' + _tt;
|
||||||
}
|
}
|
||||||
setTimeout(watchTitle, 6500);
|
setTimeout(watchTitle, 4500);
|
||||||
}
|
}
|
||||||
watchTitle();
|
watchTitle();
|
||||||
let _bcmaCSS = (function () {
|
}
|
||||||
let s = document.createElement('style');
|
let _canUseCSS = true,
|
||||||
document.head.appendChild(s);
|
_bCSS;
|
||||||
return s.sheet;
|
try {
|
||||||
})(),
|
_bCSS = new CSSStyleSheet();
|
||||||
_color = ['e74c3c', '9b59b6', '3498db', '17a589', '196f3d', 'f4d03f', 'f39c12', 'd35400'][Math.floor(Math.random() * 8)];
|
document.adoptedStyleSheets = [...document.adoptedStyleSheets, _bCSS];
|
||||||
try {
|
} catch (e) {
|
||||||
_bcmaCSS.insertRule('html,body{box-shadow: 0 0 3px #fff inset,0 0 3px #fff,0 0 30px #' + _color + ' inset !important}', 0);
|
_canUseCSS = false;
|
||||||
} catch (e) {
|
}
|
||||||
document.body.style = 'box-shadow: 0 0 3px #fff inset,0 0 3px #fff,0 0 30px #' + _color + ' inset !important';
|
if (a[5]) {
|
||||||
document.documentElement.style = 'box-shadow: 0 0 3px #fff inset,0 0 3px #fff,0 0 30px #' + _color + ' inset !important';
|
function watchBorder() {
|
||||||
|
let _color = ['e74c3c', '9b59b6', '3498db', '17a589', '196f3d', 'f4d03f', 'f39c12', 'd35400'][Math.floor(Math.random() * 8)];
|
||||||
|
if (_canUseCSS) {
|
||||||
|
_bCSS.replaceSync('html,body{box-shadow: 0 0 3px #fff inset,0 0 3px #fff,0 0 10px #' + _color + ' inset !important}');
|
||||||
|
} else { //remove this when esr>91
|
||||||
|
document.body.style = 'box-shadow: 0 0 3px #fff inset,0 0 3px #fff,0 0 10px #' + _color + ' inset !important';
|
||||||
|
document.documentElement.style = 'box-shadow: 0 0 3px #fff inset,0 0 3px #fff,0 0 10px #' + _color + ' inset !important';
|
||||||
|
}
|
||||||
|
setTimeout(watchBorder, 3500);
|
||||||
}
|
}
|
||||||
|
watchBorder();
|
||||||
|
}
|
||||||
|
if (a[6]) {
|
||||||
|
function watchInners() {
|
||||||
|
let _color = ['e74c3c', '9b59b6', '3498db', '17a589', '196f3d', 'f4d03f', 'f39c12', 'd35400'][Math.floor(Math.random() * 8)];
|
||||||
|
if (_canUseCSS) {
|
||||||
|
_bCSS.replaceSync('div,section{box-shadow: 0 0 3px #fff inset,0 0 3px #fff,0 0 10px #' + _color + ' inset !important}');
|
||||||
|
}
|
||||||
|
setTimeout(watchInners, 3500);
|
||||||
|
}
|
||||||
|
watchInners();
|
||||||
}
|
}
|
||||||
if (a[3]) {
|
if (a[3]) {
|
||||||
function codeBy_smege1001_decodeEmail(hash) {
|
function codeBy_smege1001_decodeEmail(hash) {
|
||||||
|
Loading…
Reference in New Issue
Block a user