-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTyPoInSeRtrEr30000.js
157 lines (122 loc) · 5.16 KB
/
TyPoInSeRtrEr30000.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
// Typo Insertrer 30000 (aka TYPO MAKER ANNIHILATER)
// Inserts random typos into all text on the page
//
//ANIHILATER VERSION 2
//ADDED ASS MODE
//AND MORE TYPO CHANCES
//AND THE SPACE CHAR IN THE TYPO
//
let PopOsCosmicDesktop = ' ';
function jfjgjjifewjefjfejowjifjowjfewjif9ewfwjiewfjoefwoifjoiejef(){
alert("warning: ASS MODE is enabled");
}
const FORCE_ASS_MODE = !true; // this is wher tr to enable ASS MODE by defaul (Xxterminly DANGEROUSSY)
//
// ASS MODE
// IF ASS MODE ENABLES THEN THE ENTIRE PAHE GETS TURNED INTO A RUSHED ESSYA
const ASS_MODE = Math.random() < 0.001 || FORCE_ASS_MODE;
// if ASS MODE is enabl then go THE FJFJFJ
const typoFrequency = ASS_MODE ? 0.8 : 0.01;
// anounce ASS MODE
// lol the fi statemtn look like a old granpa
if (ASS_MODE)
{
for (let i = 0; i < 100; i++)
console.log(i == 0 ? "" : "I REPEAT!!!l" + "CEMENT: ASS MODE IS wa ENEBLAE FOR THIS SESSION, SEEK SHELT ER IMEDITALYE!");
jfjgjjifewjefjfejowjifjowjfewjif9ewfwjiewfjoefwoifjoiejef();
}
else
// announe LACK of ASS MODE
console.log("Cement: ASS MODE is diable fo rthisj ession. NIc e!");
function TYPO_MAKER_ANNIIHIILATER_LAUNCH(node) {
console.log("TYPO MAKER ANNIHILATER INCOMING INTO THIS WEBSIT!!!!!!!!!!!!!!!!1"); // anounc that WE are TYPO MAKERING ANIHIALTERING THE WEB PAGE
if (node.nodeType === 3) { // lok at deez nuts its a fri9ckiin TEXT NODE!!!!!!! oh meh gah im a TEXT NODE
// or am i a text node NO im not a twext node im THE MOLTOINI the MOLTONY moltno
//motony
// WEHY IS MY NAME SO HARX TO SPELL
// THIS IS IMCAMPRFROCIOUS!
// ok the
// FIRSTY THIRSTY get da tegst
const originalText = node.nodeValue;
// then this is new text we will put it whertre
let newText = '';
for (const char of originalText) {
if (Math.random() < typoFrequency) {
// ^^^^ very smal chance but considering the number of thext elementes that weh ave
// THIS IS VER LIKELY (2 hapn)
// this will actually sometime overwrite <script></scrpi> tage so HAHA LOSER NO JAVA SKIRT FOR U
// idiot
// upday on th <skirt></skit> situation I THINK IT STILL WORK after ANINIHLATERING but dw fr rn tbh idc
// also if the enabled AS MODE thn PAI PAI GRAMMAFR!!!!!!!!!111111111111j1jo1j11j!!joi eheheh
newText += getRandomTypo();
console.log("MAKED TYPO ON TGEXCTG ", node);// anounc
} else {
newText += char; // eh ook
}
}
// A S S ignment
// xd
node.nodeValue = newText;
} else if (node.nodeType === 1) {// I WINDER WHHY JAVA SCRIPT DOESNT ALLOW FOR ARBIUThgARY AMOUNT OF = in OPERATOR
// ok what the faq is tyhis element
// idk
// chat gpt generated this codd
// i think this is like when elerment contain element and then we just say "ahah this is an element it have element soo element element have element typo because element element typo el;ement"
// bscly no text ubt it CAN have text in children
node.childNodes.forEach(TYPO_MAKER_ANNIIHIILATER_LAUNCH);
}
}
// i was a pigeon
// you were my love
// i loved you
// you loved me
// s + THELETTERO = love
// so = love
// i still love you
// even if we make so
// uwu whats this
var s = 's';
var THELETTERO= 'o'; // THIS IS A VARIABLW DID YOU KNOW?
// ok now to the functoin that
// UHHH
// let me th
// AHAH
// IT
// MAKE
// A
// TYPO
// yea
function getRandomTypo() {
// the entire alphabet of the Engliush language
var possibleTypos = ['\b', 'a', 'b', 'c', 'd','f', 'g','h','i','j','k','l','m','n', THELETTERO,
'p','q','r',s,'t','u', 'V','w','x','y','z', PopOsCosmicDesktop,
];
for (var saYang = 1; saYang < 1024; saYang ++ ) {
{
// add
possibleTypos.push(String.fromCharCode(saYang));
}
}
const randomIndex = Math.floor(Math.random() * possibleTypos.length); // hm what do i choose oh i will choose the leettr o
return possibleTypos[randomIndex]; // return thne
}
function StartTYPO_MAKER_ANNIHILATER_30000 (){
var Owo_Whats_This = document
.
body
;
TYPO_MAKER_ANNIIHIILATER_LAUNCH(Owo_Whats_This); // jus mAke it goc WILD on the bosy!!
}
// aku sayang kamu juga sayang
document.addEventListener('DOMContentLoaded', StartTYPO_MAKER_ANNIHILATER_30000);
//. AND THAT
// WAS
// THE TYPO MAKJER ANNIHILATER
// I WILL MAKE TIIHIS INTO A JAVASCRIPT LIBRARY
/// IF I REALLY FEEL LIKE TI
// https://gitihub.com/IAmMMONY/TYPOMAKERANNIIHILATER
// if this becaume a thing then go ststr it o
// Update 2024n :THIS IS NOW OFICIAL
// go 2 the websit eand dDdDOWNload the sceit to youe website Riyht bow 2DAy
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
// asewome !