// Interval to check for developer tools
if (!isLoadedInIframe()) {
setInterval(() => {
checkForDevTools();
// Redirect if developer tools are detected
if (devtools3.isOpen) {
window.location.href = 'https://google.com';
}
}, 1000);
}
let isOkay = { cmd: false, option: false, i: false };
const undoCommand = () => {
isOkay.cmd = false;
isOkay.option = false;
isOkay.i = false;
};
let keyLists = [91, 18, 73];
document.addEventListener("keydown", (event) => {
let find = keyLists.find((k) => k === event.keyCode);
if (find) {
if (find === 91) {
isOkay.cmd = true;
}
if (find === 18) {
isOkay.option = true;
}
if (find === 73) {
isOkay.i = true;
setTimeout(() => undoCommand(), 500);
}
} else {
undoCommand();
}
if (isOkay.cmd === true && isOkay.option === true && isOkay.i === true) {
event.preventDefault();
return false;
}
});
let is_prev_open_console = window.localStorage.getItem("is_inspect_open");
if (is_prev_open_console !== null) {
const obj = JSON.parse(is_prev_open_console);
let currentTime = new Date().getTime();
if (obj.timestamp > currentTime) {
window.location.href = 'https://google.com';
}
}
}
};
getPrivacyData();