-
Notifications
You must be signed in to change notification settings - Fork 1
/
automatico.html
456 lines (394 loc) · 23.2 KB
/
automatico.html
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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
<!DOCTYPE html>
<html manifest="cache.manifest">
<head>
<title>CRONO_ DREAMBOX PS4 V13.5 AUTOMÁTICO</title>
<meta charset="UTF-8" />
<link rel="shortcut icon" href="img/favicon.ico" />
<link rel="stylesheet" href="css/icon.css">
<link rel="stylesheet" href="css/materialize.css">
<link rel="stylesheet" href="css/main.css">
</head>
<script>
function DLProgress(e){Percent=(Math.round(e.loaded / e.total * 100));window.msgs.innerHTML="Instalando Cache Offline AGUARDE! / Installing Offline Cache WAIT!: " + Percent + "%";}
function DisplayCacheProgress(){setTimeout(function(){window.msgs.innerHTML=" Cache Instalado com Sucesso! / Cache Installed Successfully!";},3000);setTimeout(function(){window.msgs.innerHTML="AGORA! Saia, Desligue a Internet e Abra o Navegador Novamente para executar os EXPLOITS! NOW! Exit, Turn off the Internet and Open the Browser Again to run the EXPLOITS!";},5000);}window.applicationCache.addEventListener("progress",DLProgress,false);window.applicationCache.oncached=function(e){DisplayCacheProgress();};window.applicationCache.onupdateready=function(e){DisplayCacheProgress();};
</script>
<script>
window.applicationCache.onnoupdate=function(){setTimeout(function(){load_JB(); }, 1500);};
window.applicationCache.onerror=function(){setTimeout(function(){load_JB(); }, 1500);};
</script>
<script>
if (localStorage.passcount == null) localStorage.passcount=0;
window.passCounter.innerHTML=localStorage.passcount;
</script>
<script>
if (localStorage.failcount == null) localStorage.failcount=0;
window.failCounter.innerHTML=localStorage.failcount;
</script>
<body id="body" >
<a href="https://twitter.com/cronocardoso"><img class="icon" src="img/icon.gif"/></a>
<script src="p/cal.js"></script>
<div id="app" ><!-- app start -->
<nav class="transparent" ><!-- navbar start -->
<div class="nav-wrapper">
<span id="date" ></span>
<span id="clock" ></span>
<a href="javascript:void(0)" class="brand-logo left">CRONO_ DREAMBOX PS4 V13.5 AUTOMÁTICO</a>
<a class="sucessos">SUCESSOS = <span id=passCounter></span></a>
<a class="falhas">FALHAS = <span id=failCounter></span></a>
<ul id="nav-mobile" class="right"><!-- navbar links -->
</ul>
</div>
</nav><!-- navbar end -->
<div class="loader" v-if="isLoaderShow">
<span id="msgs">SELECIONE O EXPLOIT QUE DESEJA ATIVAR! / SELECT THE EXPLOIT YOU WANT TO ACTIVATE!</span>
<span id="temp" >
<input type="range" id="tempC" min="40" @change="temp=tempC.value" value="60" step="1" max="79" />
<span class="tempVal" >{{temp+"°C"}}</span>
<button @click="setTemp()">Selecionar</button></span>
</div>
<div class="payloads" v-show="isPayloadShow"><!-- payloads list start -->
<div v-for="payload,key in payloads" @click="loadPlayload(key)" @mouseover="hover(key)" @mouseleave="hover()" class="tile">
<img :src="'img/'+payload.icon" >
<p class="white-text" >{{payload.name}}</p>
</div>
</div><!-- payloads list end -->
<div class="detail" v-show="isDetailShow" ><!-- tozihat-->
<span id="detail" ></span>
</div>
</div><!-- app end -->
<!-- js section -->
<script src="p/auto_exp_common.js"></script>
<script src="p/auto_functions.js"></script>
<script src="js/materialize.js"></script>
<script type="text/javascript">
if(localStorage.getItem("theme")==null){
localStorage.setItem("theme",0)
}
if(localStorage.getItem("lang")==null){
localStorage.setItem("lang","br","eng","esp","fr")
}
</script>
<script src="js/vue.js"></script>
<script type="text/javascript">
var app = new Vue({
el: '#app',
data: {
isLoaderShow:true,
isPayloadShow:true,
isThemesShow:false,
isAboutUsShow:false,
isDetailShow:false,
lang:localStorage.getItem("lang"),
selectedTheme:localStorage.getItem("theme"),
payloads:[
{name:"HEN 3.0.0",icon:"HenEnable.png",
},
{name:"HEN 2.2.5",icon:"HenEnable.png",
},
{name:"HEN 2.1.3 + VR",icon:"HenVR.png",
},
{name:"HEN 2.1.3",icon:"HenEnable.png",
},
{name:"MIRA",icon:"hen.png",
},
{name:"MIRA SEM HB",icon:"hen.png",
},
{name:"BIN LOADER",icon:"binloader.png",
},
{name:"FTP",icon:"ftp.png",
},
{name:"APP - TO - USB",icon:"app2usb.png",
},
{name:"CONTROLE DE FAN",icon:"FanControl.png",
},
{name:"DESABILITAR UPDATES",icon:"disableupdate.png",
},
{name:"HABILITAR UPDATES",icon:"enableupdate.png",
},
{name:"WEB - RTE ",icon:"rte.png",
},
{name:"AVATAR DUMPER ",icon:"avatarDumper.png",
},
{name:"PS4 DEBUG",icon:"ps4debug.png",
},
{name:"BLOQUEAR HISTORICO",icon:"history.png",
},
{name:"TO - DEX",icon:"todex.png",
},
{name:"BACKUP BD PS4",icon:"backup.png",
},
{name:"RESTAURAR BD PS4",icon:"restore.png",
},
{name:"DUMPER - JOGOS V1.8",icon:"dumper.png",
},
{name:"DUMPER - JOGOS V1.4",icon:"dumper.png",
},
{name:"DUMPER - KERNEL",icon:"kdumper.png",
},
{name:"LINUX - LOADER",icon:"linux.png",
},
{name:"GTAV MENU V1.0",icon:"gtav.png",
},
{name:"GTAV MENU V1.27",icon:"gtav.png",
},
{name:"GTAV MENU V1.32",icon:"gtav.png",
},
],
themes:[
{url:"fundo.jpg",selected:false},
],
temp:tempC.value
},
methods:{
loadPlayload: function(key){
if(key==0){//Carregar Jailbreak + HEN 3.0.0 para 6.72
msgs.innerHTML="<div>Carregando Jailbreak + HEN 3.0.0 Aguarde ... / Loading Jailbreak + HEN 3.0.0 Please wait ...</div>";
LoadedMSG="Jailbreak + HEN 3.0.0 Carregado com Sucesso ✔ / Jailbreak + HEN 3.0.0 Successfully Loaded ✔";ExploitMira="yes";MiraSRC="p/pl_HEN3.0.0BR.js";
var script = document.createElement('script');script.src = "p/pl_HEN3.0.0BR.js";document.getElementsByTagName('head')[0].appendChild(script);
var script = document.createElement('script');script.src = "p/exp_loader.js";document.getElementsByTagName('head')[0].appendChild(script);
}
if(key==1){//Carregar Jailbreak + HEN 2.2.5 para 6.72
msgs.innerHTML="<div>Carregando Jailbreak + HEN 2.2.5 Aguarde ... / Loading Jailbreak + HEN 2.2.5 Please wait ...</div>";
LoadedMSG="Jailbreak + HEN 2.2.5 Carregado com Sucesso ✔ / Jailbreak + HEN 2.2.5 Successfully Loaded ✔";ExploitMira="yes";MiraSRC="p/pl_HEN2.2.5BR.js";
var script = document.createElement('script');script.src = "p/pl_HEN2.2.5BR.js";document.getElementsByTagName('head')[0].appendChild(script);
var script = document.createElement('script');script.src = "p/exp_loader.js";document.getElementsByTagName('head')[0].appendChild(script);
}
if(key==2){//Carregar Jailbreak + HEN 2.1.3 + VR para 6.72
msgs.innerHTML="<div>Carregando Jailbreak + HEN 2.1.3 + VR Aguarde ... / Loading Jailbreak + HEN 2.1.3 + VR Please wait ...</div>";
LoadedMSG="Jailbreak + HEN 2.1.3 + VR Carregado com Sucesso ✔ / Jailbreak + HEN 2.1.3 + VR Successfully Loaded ✔";ExploitMira="yes";MiraSRC="p/pl_HENVR.js"
var script = document.createElement('script');script.src = "p/p/pl_HENVR.js";document.getElementsByTagName('head')[0].appendChild(script);
var script = document.createElement('script');script.src = "p/exp_loader.js";document.getElementsByTagName('head')[0].appendChild(script);
}
if(key==3){//Carregar Jailbreak + hen 2.1.3 para 6.72
msgs.innerHTML="<div>Carregando Jailbreak + HEN 2.1.3 Aguarde ... / Loading Jailbreak + HEN 2.1.3 Please wait ...</div>";
LoadedMSG="Jailbreak + HEN 2.1.3 Carregado com Sucesso ✔ / Jailbreak + HEN 2.1.3 Successfully Loaded ✔";ExploitMira="yes";MiraSRC="p/pl_HEN2.1.3.js";
var script = document.createElement('script');script.src = "p/pl_HEN2.1.3.js";document.getElementsByTagName('head')[0].appendChild(script);
var script = document.createElement('script');script.src = "p/exp_loader.js";document.getElementsByTagName('head')[0].appendChild(script);
}
if(key==4){//Carregar Mira
msgs.innerHTML="<div>Carregando Jailbreak + MIRA Aguarde ... / Loading Jailbreak + MIRA Please wait ...</div>";
LoadedMSG="Jailbreak + MIRA Carregado com Sucesso ✔ / Jailbreak + MIRA Successfully Loaded ✔";ExploitMira="yes";MiraSRC="p/pl_mira.js";
var script = document.createElement('script');script.src = "p/pl_mira.js";document.getElementsByTagName('head')[0].appendChild(script);
var script = document.createElement('script');script.src = "p/exp_loader.js";document.getElementsByTagName('head')[0].appendChild(script);
}
if(key==5){//Carregar Jailbreak + Mira Sem HB
msgs.innerHTML="<div>Carregando jailbreak + Mira sem HB Aguarde ... / Loading jailbreak + Mira without HB Please wait ...</div>";
LoadedMSG="Jailbreak + Mira sem HB Carregado com Sucesso ✔ / Jailbreak + Mira without HB Successfully Loaded ✔";ExploitMira="yes";MiraSRC="p/pl_miranohb.js";
var script = document.createElement('script');script.src = "p/pl_miranohb.js";document.getElementsByTagName('head')[0].appendChild(script);
var script = document.createElement('script');script.src = "p/exp_loader.js";document.getElementsByTagName('head')[0].appendChild(script);
}
if(key==6){//Carregar bin - loader
msgs.innerHTML="<div>Carregando BIN LOADER Aguarde ... / Loading BIN LOADER Please wait ...</div>";
LoadedMSG="Carregado! Agora Envie o Payload desejado para a porta 9021 <br> Loaded! Now Send the desired Payload to port 9021";
var script = document.createElement('script');script.src = "p/exp_BinLoader.js";document.getElementsByTagName('head')[0].appendChild(script);
}
if(key==7){//Carregar ftp
msgs.innerHTML="<div>Carregando FTP Aguarde ... / Loading FTP Please wait ...</div>";
LoadedMSG="FTP Carregado com Sucesso ✔ / FTP Uploaded Successfully ✔";
var script = document.createElement('script');script.src = "p/pl_ftp.js";document.getElementsByTagName('head')[0].appendChild(script);
var script = document.createElement('script');script.src = "p/exp_loader.js";document.getElementsByTagName('head')[0].appendChild(script);
}
if(key==8){//Carregar app - to - usb
msgs.innerHTML="<div>Carregando APP - TO - USB Aguarde ... / Loading APP - TO - USB Please wait ...</div>";
LoadedMSG="APP - TO - USB Carregado com Sucesso ✔ / APP - TO - USB Successfully Loaded ✔";
var script = document.createElement('script');script.src = "p/pl_app2usbBR.js";document.getElementsByTagName('head')[0].appendChild(script);
var script = document.createElement('script');script.src = "p/exp_loader.js";document.getElementsByTagName('head')[0].appendChild(script);
}
if(key==9){//Carregar FAN
msgs.innerHTML="<div>Carregando Controle de Ventoinha (FAN) Aguarde ... / Loading Fan Control (FAN) Please wait ...</div>";
setTimeout(function(){
msgs.style.display="none";
temp.style.display="inline";
},1000);
}
if(key==10){//Carregar updates disable
msgs.innerHTML="<div>Carregando Desabilitar Updates Aguarde ... / Loading Disable Updates Please wait ...</div>";
LoadedMSG="Updates Desabilitados com Sucesso ✔ / Updates Disabled Successfully ✔";
var script = document.createElement('script');script.src = "p/pl_updatesDisableBR.js";document.getElementsByTagName('head')[0].appendChild(script);
var script = document.createElement('script');script.src = "p/exp_loader.js";document.getElementsByTagName('head')[0].appendChild(script);
}
if(key==11){//Carregar updates enable
msgs.innerHTML="<div>Carregando Habilitar Updates Aguarde ... / Loading Enable Updates Please wait ...</div>";
LoadedMSG="Updates Habilitados com Sucesso ✔ / Updates Enabled Successfully ✔";
var script = document.createElement('script');script.src = "p/pl_updatesEnableBR.js";document.getElementsByTagName('head')[0].appendChild(script);
var script = document.createElement('script');script.src = "p/exp_loader.js";document.getElementsByTagName('head')[0].appendChild(script);
}
if(key==12){//Carregar web - rte
msgs.innerHTML="<div>Carregando WEB - RTE 6.72 CHEATS Aguarde... / Loading WEB - RTE 6.72 CHEATS Please wait ...</div>";
LoadedMSG="WEB - RTE 6.72 CHEATS Carregado com Sucesso ✔ / WEB - RTE 6.72 CHEATS Successfully Loaded ✔ ";
var script = document.createElement('script');script.src = "p/pl_WebRTE.js";document.getElementsByTagName('head')[0].appendChild(script);
var script = document.createElement('script');script.src = "p/exp_loader.js";document.getElementsByTagName('head')[0].appendChild(script);
}
if(key==13){//Carregar Avatar Dumper
msgs.innerHTML="<div>Carregando Dumper de Avatar ... / Loading Avatar Dumper ...</div>";
LoadedMSG="Injetor do Avatar Dumper Carregado com Sucesso ✔ / Avatar Dumper Injector Successfully Loaded ✔";
var script = document.createElement('script');script.src = "p/AvatarDumperBR.js";document.getElementsByTagName('head')[0].appendChild(script);
var script = document.createElement('script');script.src = "p/exp_loader.js";document.getElementsByTagName('head')[0].appendChild(script);
}
if(key==14){//PS4 Debug
msgs.innerHTML="<div>Carregando PS4 Debug Aguarde ... / Loading PS4 Debug Please wait ...</div>";
LoadedMSG=" PS4 Debug Carregado com Sucesso ✔ / PS4 Debug Successfully Loaded ✔";
var script = document.createElement('script');script.src = "p/pl_ps4debug.js";document.getElementsByTagName('head')[0].appendChild(script);
var script = document.createElement('script');script.src = "p/exp_loader.js";document.getElementsByTagName('head')[0].appendChild(script);
}
if(key==15){//Carregar history block
msgs.innerHTML="<div>Carregando Bloquedor de Historico Aguarde ... / Loading History Blocker Please wait ...</div>";
LoadedMSG="Bloquedor de Historico Carregado com Sucesso ✔ / History Blocker Loaded Successfully ✔";
var script = document.createElement('script');script.src = "p/pl_historyBlockerBR.js";document.getElementsByTagName('head')[0].appendChild(script);
var script = document.createElement('script');script.src = "p/exp_loader.js";document.getElementsByTagName('head')[0].appendChild(script);
}
if(key==16) {// Carregar TO - DEX
msgs.innerHTML = "<div> Carregando modo TO - DEX Aguarde ... / Loading TO - DEX mode Please wait ...</div>";
LoadedMSG = " Modo TO - DEX Carregado com Sucesso ✔ / TO - DEX Mode Loaded Successfully ✔";
var script = document.createElement ('script'); script.src = "p/pl_ToDEX.js"; document.getElementsByTagName ('head') [0] .appendChild (script);
var script = document.createElement ('script'); script.src = "p/exp_loader.js"; document.getElementsByTagName ('head') [0] .appendChild (script);
}
if(key==17){//Carregar db Backup
msgs.innerHTML="<div>Carregando Backup do BD do PS4 Aguarde ... / Loading PS4 BD Backup Please wait ...</div>";
LoadedMSG="Backup do BD Carregado com Sucesso ✔ / BD Backup Loaded Successfully ✔";
var script = document.createElement('script');script.src = "p/pl_dbBackupBR.js";document.getElementsByTagName('head')[0].appendChild(script);
var script = document.createElement('script');script.src = "p/exp_loader.js";document.getElementsByTagName('head')[0].appendChild(script);
}
if(key==18){//Carregar db Restore
msgs.innerHTML="<div>Carregado Restaurador de BD do PS4 Aguarde ... / Loaded PS4 BD Restorer Please wait ...</div>";
LoadedMSG="Restauração do BD Carregado com Sucesso ✔ / BD Restore Loaded Successfully ✔";
var script = document.createElement('script');script.src = "p/pl_dbRestoreBR.js";document.getElementsByTagName('head')[0].appendChild(script);
var script = document.createElement('script');script.src = "p/exp_loader.js";document.getElementsByTagName('head')[0].appendChild(script);
}
if(key==19){//Carregar dumper pt-br
msgs.innerHTML="<div>Carregando Dumper V1.8 Aguarde ... / Loading Dumper V1.8 Please wait ...</div>";
LoadedMSG="Dumper V1.8 Carregado com Sucesso ✔ / Dumper V1.8 Successfully Loaded ✔";
var script = document.createElement('script');script.src = "p/pl_dumperv1.8BR.js";document.getElementsByTagName('head')[0].appendChild(script);
var script = document.createElement('script');script.src = "p/exp_loader.js";document.getElementsByTagName('head')[0].appendChild(script);
}
if(key==20){//Carregar dumper
msgs.innerHTML="<div>Carregando Dumper V1.4 Aguarde ... / Loading Dumper V1.4 Please wait ...</div>";
LoadedMSG="Dumper V1.4 Carregado com Sucesso ✔ / Dumper V1.4 Successfully Loaded ✔";
var script = document.createElement('script');script.src = "p/pl_dumperv1.4BR.js";document.getElementsByTagName('head')[0].appendChild(script);
var script = document.createElement('script');script.src = "p/exp_loader.js";document.getElementsByTagName('head')[0].appendChild(script);
}
if(key==21){//Carregar kernel dump
msgs.innerHTML="<div>Carregando Dumper de Kernel Aguarde ... / Loading Kernel Dumper Please wait ...</div>";
LoadedMSG="Dumper de Kernel Carregado com Sucesso ✔ / Successfully Loaded Kernel Dumper ✔";
var script = document.createElement('script');script.src = "p/pl_kernelDumperBR.js";document.getElementsByTagName('head')[0].appendChild(script);
var script = document.createElement('script');script.src = "p/exp_loader.js";document.getElementsByTagName('head')[0].appendChild(script);
}
if(key==22){//Carregar linux - loader
msgs.innerHTML="<div>Carregando Linux - Loader Aguarde ... / Loading Linux - Loader Please wait ...</div>";
LoadedMSG="Linux - Loader Carregado com Sucesso ✔ / Linux - Loader Loaded Successfully ✔";
var script = document.createElement('script');script.src = "p/pl_linux.js";document.getElementsByTagName('head')[0].appendChild(script);
var script = document.createElement('script');script.src = "p/exp_loader.js";document.getElementsByTagName('head')[0].appendChild(script);
}
if(key==23){//Carregar GTAV Menu 1.0
msgs.innerHTML="<div>Carregando GTAV Menu V1.0 Aguarde ... / GTAV Menu V1.0 - Loader Please wait ...</div>";
LoadedMSG="GTAV Menu V1.0 Carregado com Sucesso ✔ (Quadrado + Seta Direta Para Ativar) ✔<br>GTAV Menu V1.0 Uploaded Successfully ✔ (Square + Right Arrow To Activate) ✔";
var script = document.createElement('script');script.src = "p/pl_GTA100.js";document.getElementsByTagName('head')[0].appendChild(script);
var script = document.createElement('script');script.src = "p/exp_loader.js";document.getElementsByTagName('head')[0].appendChild(script);
}
if(key==24){//Carregar GTAV Menu 1.27
msgs.innerHTML="<div>Carregando GTAV Menu V1.27 Aguarde ... / GTAV Menu V1.27 - Loader Please wait ...</div>";
LoadedMSG="GTAV Menu V1.27 Carregado com Sucesso ✔ (Quadrado + Seta Direta Para Ativar) ✔<br>GTAV Menu V1.27 Uploaded Successfully ✔ (Square + Right Arrow To Activate) ✔";
var script = document.createElement('script');script.src = "p/pl_GTA127.js";document.getElementsByTagName('head')[0].appendChild(script);
var script = document.createElement('script');script.src = "p/exp_loader.js";document.getElementsByTagName('head')[0].appendChild(script);
}
if(key==25){//Carregar GTAV Menu 1.32
msgs.innerHTML="<div>Carregando GTAV Menu V1.32 Aguarde ... / GTAV Menu V1.32 - Loader Please wait ...</div>";
LoadedMSG="GTAV Menu V1.32 Carregado com Sucesso ✔ (Quadrado + Seta Direta Para Ativar) ✔<br>GTAV Menu V1.32 Uploaded Successfully ✔ (Square + Right Arrow To Activate) ✔";
var script = document.createElement('script');script.src = "p/pl_GTA132.js";document.getElementsByTagName('head')[0].appendChild(script);
var script = document.createElement('script');script.src = "p/exp_loader.js";document.getElementsByTagName('head')[0].appendChild(script);
}
},
showMain:function(){
this.isPayloadShow = true
this.isThemesShow = false
this.isAboutUsShow = false
this.isLoaderShow = true
},
showTheme:function(){
this.isLoaderShow = false
this.isAboutUsShow = false
this.isThemesShow = true
this.isPayloadShow = false
},
showAboutUs:function(){
this.isPayloadShow=false
this.isAboutUsShow = true
this.isLoaderShow = false
this.isThemesShow = false
},
showDonation:function(){
this.isPayloadShow=false
this.isAboutUsShow = false
this.isLoaderShow = false
this.isThemesShow = false
},
changeTheme:function(key){
this.themes[this.selectedTheme].selected=false
localStorage.setItem("theme",(key))
this.selectedTheme=localStorage.getItem("theme")
this.themes[this.selectedTheme].selected=true
document.getElementById("body").style.background="url(img/"+this.themes[localStorage.getItem("theme")].url+")";
document.getElementById("body").style.backgroundRepeat="no-repeat";
document.getElementById("body").style.backgroundSize="100%";
},
changeLang:function(lang){
localStorage.setItem("lang",lang)
this.lang=localStorage.getItem("lang")
},
changeText:function(tbr,teng,tesp,tfr){
if(this.lang=="br"){
return tbr;
}
if(this.lang=="eng"){
return teng;
}
if(this.lang=="esp"){
return tesp;
}if(this.lang=="fr"){
return tfr;
}
return "error to change lang";
},
hover:function(key){
if(key !== undefined){
this.isDetailShow = false
if(this.lang=="br"){
document.getElementById("detail").innerHTML=this.payloads[key].br_detail
}
if(this.lang=="eng"){
document.getElementById("detail").innerHTML=this.payloads[key].eng_detail
}
if(this.lang=="esp"){
document.getElementById("detail").innerHTML=this.payloads[key].esp_detail
}
if(this.lang=="fr"){
document.getElementById("detail").innerHTML=this.payloads[key].fr_detail
}
}else{
this.isDetailShow = false
}
},
setTemp:function(){
msgs.style.display="inline"
temp.style.display="none"
LoadedMSG="Controle de Ventoinha (FAN) Carregado com Sucesso ✔ / Fan Control (FAN) Loaded Successfully ✔";fanTemp=tempC.value;
var script = document.createElement('script');script.src = "p/pl_fanthresh.js";document.getElementsByTagName('head')[0].appendChild(script);
var script = document.createElement('script');script.src = "p/exp_loader.js";document.getElementsByTagName('head')[0].appendChild(script);
},
retLang:function(){
return this.lang;
}
},
created(){
this.themes[this.selectedTheme].selected=true
fetch('counter.php')
},
})
</script>
<script type="text/javascript">
document.getElementById("body").style.background="url(img/"+app.themes[localStorage.getItem("theme")].url+")";
document.getElementById("body").style.backgroundRepeat="no-repeat";
document.getElementById("body").style.backgroundSize="100%";
</script>
</body>
</html>