Confirmation Alerts

Confirmation alert template

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         Confirmation Alerts
// @namespace    http://tampermonkey.net/
// @homepage     https://greasyfork.org/users/946530-purefishmonke
// @version      1.2
// @description  Confirmation alert template
// @supportURL   https://discord.com/invite/XZ8JqgYg93
// @author       DevFish
// @match        https://*/*
// @license      MIT
// ==/UserScript==

///Config///
var keybind = 192 // 192 = BACKTICK (`), find more at https://keycode.info
var conftxt = "Click A Button" // Switch the text inside the "" to whatever you want
var confrmtxt = "Confirmed" // Switch the text inside the "" to whatever you want
var canceltxt = "Cancelled" // Switch the text inside the "" to whatever you want

/// Main Script (Do not edit) ///
window.onkeydown=function(event){if(event.keyCode===keybind){if(confirm(conftxt)==true){alert(confrmtxt)}else{alert(canceltxt)}}}