-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwindows.js
More file actions
191 lines (179 loc) · 5.76 KB
/
Copy pathwindows.js
File metadata and controls
191 lines (179 loc) · 5.76 KB
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
//Disabled Forever
(function(){
console.log("This Project was entirely Programmed in JavaScript and HTML and CSS");
console.log("Project Name: MDA PC VM V1.0.4\nAuthor Name: Mr Discreet Animation#8833\nAuthor Email: mda@amogus.email mrdiscordanimation@gmail.com\nAuthor Website: https://mrdiscordanimations.web.app/")
}())
function mdaPC() {
let popup;
popup = window.open('', '', `top=0,left=${screen.width-800},width=850,height=${screen.height}`);
if(!popup || !popup.document || !popup.document.write) return alert('Popup blocked! Please allow popups and after you do so, rerun the code');
window.dispatchEvent(new Event('beforeunload'));
popup.document.write(`
<!--Coded by: Mr Discreet Animation#8833 Author Email: mda@amogus.email-->
<!DOCTYPE html>
<html>
<head>
<title>MDA Virtual Machine</title>
<script src="./manager.js" defer></script>
<script src="./fastload.js" async></script>
<style>
body {
font-family: sans-serif;
}
.hype {cursor: pointer}
code {
background: lightgray;
font-family: Consolas, serif;
padding: 7.5px;
border-radius: 7.5px;
margin-right: 5px;
}
.warning {
background: yellow;
border: 5px solid red;
padding: 7.5px;
margin-top: 40px;
}
button {
padding: 6px;
}
.noselect {
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
}
/*MDA Codes*/
.navbar {
overflow: hidden;
background-color: none;
}
</style>
</head>
<body onload="popup('machineCheck')">
<p style="display: none;" id="blank"></p>
<h3>Project: MDA Web VM Version: 1.0.3<br>Welcome Back! Currently Logged In as: <i>User</i></h3>
<hr>
<div class="navbar">
<a href="#" onclick="popup('settings')" style="float: left;" title="Settings"><img src="./settings.png" alt="setting_icon" name="settings.png" ></a>
<p onclick="popup('notes')" style="font-size: 120px; float: right; cursor: pointer;" title="Notepad">📝</p>
<p href="#" onclick="popup('pass10918')" style="font-size: 130px; float: left; cursor: default;" title="Password Protected File" id="ppfile">🔒</p>
<a href="#" onclick="popup('SL_Web')" style="float: right;" title="Sussy Land Web Edition"><img src="./MDATimes.png" alt="mdatimes_icon" name="MDATimes.png" width="120px" height="120px"></a>
<p href="#" onclick="popup('filemanager')" style="font-size: 130px; float: left; cursor: pointer;" title="File Manager">📂</p>
</div>
<!-- The Modal -->
<div id="thingsModal" class="thinkmodal">
<div class="modal-content">
<span class="close" onclick="modalExit()">×</span>
<div id="modalGUI"></div>
</div>
</div>
</div>
<script>
var modal = document.getElementById("thingsModal");
function modalDisplay() {
modal.style.display = "block";
}
function modalExit() {
modal.style.display = "none";
}
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
</script>
<style>
.thinkmodal {font-family: Arial, Helvetica, sans-serif;}
/* The Modal (background) */
.thinkmodal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 100px; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content */
.modal-content {
background-color: #fefefe;
margin: auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
}
/* The Close Button */
.close {
color: #aaaaaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
</style>
<!--Files Corruption Prevention POPUP-->
<div id="errGUI" class="errmodal">
<div class="errLIGMA">
<div id="errMSG"></div>
</div>
</div>
</div>
<script>
var err = document.getElementById("errGUI");
function modalERR() {
err.style.display = "block";
}
//This Function is added for Developer Uses Only.
function modalERREXIT() {
err.style.display = "none";
}
</script>
<style>
.errmodal {font-family: Arial, Helvetica, sans-serif;}
/* The Modal (background) */
.errmodal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 100px; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content Ligma DevOnly */
.errLIGMA {
background-color: #fefefe;
margin: auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
}
</style>
</body>
<!--
DA MDA SIGNATURE g.dev/mda
[] | _ \ / / |\ /| | ____
_| . [] |_| \ / / | \/ | ___| ___|
|_ \/ / | | [___] |___|
Digital Signature TrialsOfTheDamned
New Signature: Time2Rise
-->
</html>
`)
}