Alert Messages

Sends an alert when you press a certain button on your keyboard

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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         Alert Messages
// @namespace    http://tampermonkey.net/
// @homepage     https://greasyfork.org/en/users/946530-purefishmonke
// @version      2.4
// @description  Sends an alert when you press a certain button on your keyboard
// @supportURL   https://discord.com/invite/XZ8JqgYg93
// @author       DevFish 
// @match        https://*/*
// @license      MIT
// ==/UserScript==

///Config///
var txt = "Hello World!" // Text The Alert Shows
var btn = 192 // Keycode of the button that triggers the alert. (Default button is the ` button) You can find keycodes at https://keycodes.info

/// Script (Do not edit) ///

window.onkeydown = function(event){if(event.keyCode == btn){alert(txt)}}