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)

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==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)