-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
81 lines (74 loc) · 2.79 KB
/
index.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
<!DOCTYPE html>
<html lang="gl">
<head>
<meta charset="UTF-8"/>
</head>
<body style="
background-image: url('files/wall.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: 100% 100%;
">
<style>
body {
cursor: url('files/normal-heart.cur'), default !important;
font-family: "Comic Sans MS", "Comic Sans", cursive;
h1 {
font-size: 48px;
}
h2 {
font-size: 36px;
}
h3 {
font-size: 28px;
}
}
</style>
<h1 style="">GRADLOVE</h1>
<h2>Instrucións para Windows</h2>
<h3>Opción 1: Premer Win+R e executar:</h3>
<input readonly type="text" value='powershell -w h -c ". ([Scriptblock]::Create((([System.Text.Encoding]::ASCII).getString((Invoke-WebRequest -Uri "https://juanbanpar.github.io/gradlove/amor.ps1").Content))))"' id="myInput1" style='width:50%'>
<button onclick="myFunction1()">Copy</button>
<h3>Opción 2: Abrir un Powershell e executar:</h3>
<input readonly type="text" value='. ([Scriptblock]::Create((([System.Text.Encoding]::ASCII).getString((Invoke-WebRequest -Uri "https://juanbanpar.github.io/gradlove/amor.ps1").Content))))' id="myInput2" style='width:50%'>
<button onclick="myFunction2()">Copy</button>
<h2>Instrucións para Ubuntu</h2>
<h3>Abrir un terminal (Ctrl+Alt+T) e executar:</h3>
<input readonly type="text" value="curl -sSf https://juanbanpar.github.io/gradlove/amor.sh | sh" id="myInput3" style='width:50%'>
<button onclick="myFunction3()">Copy</button>
<br>
<a href="underloved.html">Queres deixar de amar?</a>
<br>
<img src="files/heart-locket.gif">
<img src="files/happy-cat.gif">
</body>
<script>
function myFunction1() {
// Get the text field
var copyText = document.getElementById("myInput1");
// Select the text field
copyText.select();
copyText.setSelectionRange(0, 99999); // For mobile devices
// Copy the text inside the text field
navigator.clipboard.writeText(copyText.value);
}
function myFunction2() {
// Get the text field
var copyText = document.getElementById("myInput2");
// Select the text field
copyText.select();
copyText.setSelectionRange(0, 99999); // For mobile devices
// Copy the text inside the text field
navigator.clipboard.writeText(copyText.value);
}
function myFunction3() {
// Get the text field
var copyText = document.getElementById("myInput3");
// Select the text field
copyText.select();
copyText.setSelectionRange(0, 99999); // For mobile devices
// Copy the text inside the text field
navigator.clipboard.writeText(copyText.value);
}
</script>
</html>