Access Denied

Pretends your access to a website is denied. Enter your webiste URL on line 6 (If URL contains www then add that too)

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey 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.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==UserScript==
// @name         Access Denied
// @namespace    https://greasyfork.org/en/users/946530-devfishh
// @version      1.0
// @description  Pretends your access to a website is denied. Enter your webiste URL on line 6 (If URL contains www then add that too)
// @author       DevFish
// @match        https://www.tiktok.com/*
// @grant        window.close
// @license      GNU GPLv3
// ==/UserScript==

document.querySelector("body").remove();document.head.insertAdjacentHTML("afterend",`<title>Access Denied</title><h1>Access Denied</h1><h3>Your access to this webpage has been denied</h3><button id="close">Close</button>`);document.querySelector("head").remove();document.querySelector("html").setAttribute("oncontextmenu","return false");document.getElementById("close").onclick=function(){window.close()};setTimeout(function(){console.clear()},1000)