Snowlord7 Dev Console

dev console by snowlord7, but i added a button to open it.

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

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         Snowlord7 Dev Console
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  dev console by snowlord7, but i added a button to open it.
// @author       twarped
// @match        http*://*/*
// @exclude      https://docs.google.com/*/*
// @exclude      https://sites.google.com/*/*
// @grant        none
// ==/UserScript==
var on = document.createElement('button');
on.innerHTML = "Dev Console";
on.addEventListener("click",function(){
    var x = document.createElement("script");
    x.src = "https://cdn.jsdelivr.net/gh/SnowLord7/devconsole@master/main.js";
    x.onload = alert("Loaded Developer Console!")+alert('this is Snowlord7s thing...');
    document.head.appendChild(x);
});
document.body.appendChild(on);