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)

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

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