-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeow.js
87 lines (72 loc) · 3.58 KB
/
meow.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
//
//
//
// ███╗ ███╗███████╗ ██████╗ ██╗ ██╗ ██╗███████╗
// ████╗ ████║██╔════╝██╔═══██╗██║ ██║ ██║██╔════╝
// ██╔████╔██║█████╗ ██║ ██║██║ █╗ ██║ ██║███████╗
// ██║╚██╔╝██║██╔══╝ ██║ ██║██║███╗██║ ██ ██║╚════██║
// ██║ ╚═╝ ██║███████╗╚██████╔╝╚███╔███╔╝██╗╚█████╔╝███████║
// ╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚══╝╚══╝ ╚═╝ ╚════╝ ╚══════╝
//
// made by Slovak_Cat and cats on 🌍 Eatrh in 2020
// © sk_cat() & Slovak_Cat 2019-2020
//
var meowjs_available = true
var version = "delta"
function help(com) {
return "\n███╗ ███╗███████╗ ██████╗ ██╗ ██╗ ██╗███████╗ \n████╗ ████║██╔════╝██╔═══██╗██║ ██║ ██║██╔════╝ \n██╔████╔██║█████╗ ██║ ██║██║ █╗ ██║ ██║███████╗ \n██║╚██╔╝██║██╔══╝ ██║ ██║██║███╗██║ ██ ██║╚════██║ \n██║ ╚═╝ ██║███████╗╚██████╔╝╚███╔███╔╝██╗╚█████╔╝███████║ \n╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚══╝╚══╝ ╚═╝ ╚════╝ ╚══════╝ \n" + "More information on https://github.com/sk-cat/meow.js or https://skcat.tk/meow.js/"
}
function ifInternetConnection {
// Checking for an Internet connection
// From http://youmightnotneedjquery.com/#request IE8+
var Request = new XMLHttpRequest();
// Load a tiny library from a reliable source to check if a real Internet connexion is available.
Request.open('GET', 'https://ajax.googleapis.com/ajax/libs/threejs/r76/three.min.js', true);
Request.onreadystatechange = function () {
if (this.readyState === 4) {
if (this.status >= 200 && this.status < 400) {
// jéj internetové pripojenie dostupné
var connect = true
} else {
var connect = false
}
}
};
Request.send();
Request = null;
return connect
}
function openInYT(id) {
var yt_x-callback-url = "vnd.youtube://"
var yturl = "https://youtube.com/"
if (id = null) {
document.location(yt_x-callback-url)
} else {
document.location(yt_x-callback-url + yturl + id)
}
}
function catAscii() {
}
function cclog(text, colorhex) {
var atext = "%c" + text
var csstext = "color: " + colorhex + "; font-family: sans-serif;"
console.log(atext, csstext)
}
function shortlinkisgd(link) {
var isgdcreatelink = "http://is.gd/create.php?format=simple&url="
}
function editwebpageAsText() {
document.body.contentEditable = "true"; document.designMode = "on"
completion();
return "contentEditable=true desingMode=on"
}
function echo(echo) {
return echo
}
function w_Che(a, b) {
var mAT = a+b;
var m = b;
var non_percetonial = mAT / m;
var final = non_percetonial*100;
return "𝔀= " + final + "%"
}