Telegram Group & Telegram Channel
Есть сайты, у которых нельзя открыть браузерные devtools

Делается это так:

Запрет на меню и хоткеи

document.addEventListener('contextmenu', event => event.preventDefault());

document.addEventListener('keydown', event => {
if (event.key === 'F12' || (event.ctrlKey && event.shiftKey && event.key === 'I')) {
event.preventDefault();
}
});


Определять открытие девтулз и, например, перегружать страницу:

(function() {
const element = new Image();
Object.defineProperty(element, 'id', {
get: function() {
throw new Error('DevTools detected!');
}
});
console.log(element);
})();


#badpractice #devtools



tg-me.com/vuefaq/1283
Create:
Last Update:

Есть сайты, у которых нельзя открыть браузерные devtools

Делается это так:

Запрет на меню и хоткеи

document.addEventListener('contextmenu', event => event.preventDefault());

document.addEventListener('keydown', event => {
if (event.key === 'F12' || (event.ctrlKey && event.shiftKey && event.key === 'I')) {
event.preventDefault();
}
});


Определять открытие девтулз и, например, перегружать страницу:

(function() {
const element = new Image();
Object.defineProperty(element, 'id', {
get: function() {
throw new Error('DevTools detected!');
}
});
console.log(element);
})();


#badpractice #devtools

BY Vue-FAQ


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/vuefaq/1283

View MORE
Open in Telegram


Vue FAQ Telegram | DID YOU KNOW?

Date: |

How To Find Channels On Telegram?

There are multiple ways you can search for Telegram channels. One of the methods is really logical and you should all know it by now. We’re talking about using Telegram’s native search option. Make sure to download Telegram from the official website or update it to the latest version, using this link. Once you’ve installed Telegram, you can simply open the app and use the search bar. Tap on the magnifier icon and search for a channel that might interest you (e.g. Marvel comics). Even though this is the easiest method for searching Telegram channels, it isn’t the best one. This method is limited because it shows you only a couple of results per search.

Vue FAQ from tr


Telegram Vue-FAQ
FROM USA