Anti-Hack

Don't let Others Acess Your Personal Things!

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(У мене вже є менеджер скриптів, дайте мені встановити його!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Anti-Hack
// @namespace    https://google.com/
// @version      0.1
// @description  Don't let Others Acess Your Personal Things!
// @author       bigfoot
// @icon         https://thumbs.dreamstime.com/b/approved-icon-profile-verification-accept-badge-quality-check-mark-sticker-tick-vector-illustration-136617444.jpg
// @grant        none
// @match        https://outlook.office.com/mail/inbox
// @match        https://www.d11.org/
// @match         https://outlook.office.com/mail/


// ==/UserScript==

//CUSTOMIZE
var username = "";
var yourName = "Hecker";
/*Change the @match section to run on different urls/websites*/
//***Don't tuch code below or the script won't work***

let person = prompt("Please enter your username","");
let text;

if(person != username){
    alert("Get tf off my computer!");
    //location.assign('https://www.javascripttutorial.net/');
    window.onload = function() {
        location.href = "";
    }
}
if (person == username) {
    alert("Hello " + yourName + "! How are you today?");
}