This repository has been archived by the owner on Sep 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
customrickroller.html
145 lines (136 loc) · 7.04 KB
/
customrickroller.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- stylesheet and fonts-->
<!-- <link rel="stylesheet" href="https://mrtechtroid.github.io/css.css"> -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Questrial&display=swap" rel="stylesheet">
< <!-- Primary Meta Tags -->
<title>Custom Rickroller</title>
<meta name="title" content="Custom Rickroller">
<meta name="description" content="Make A Custom Rick Roll Using This Custom Rick Roll Generator">
<meta name="keywords"
content="open source, rickroll, rick, rickroller, custom rick roll generator,rick roll generator">
<meta name="robots" content="index, follow">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="language" content="English">
<meta name="revisit-after" content="31 days">
<meta name="author" content="Mr Techtroid">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Questrial&display=swap" rel="stylesheet">
<style>
body {
display: flex;
flex-direction: column;
justify-content: center;
background-color: black;
background-color: black;
font-family: Questrial;
margin: 0px;
min-width: 310px;
}
#navbar {
height: 100px;
padding-left: 5%;
padding-right: 5%;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
}
#logo {
width: 100px;
height: 100px;
}
.section {
height: 400px;
display: flex;
flex-direction: row;
/* justify-content: space-evenly; */
position: relative;
display: flex;
flex-direction: column;
align-items: center;
}
#con {
flex-basis: 40%;
margin-left: 20px;
padding: 30px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
#linkgen:hover #linkgen:focus {
background-color: rgb(30, 128, 0);
}
</style>
</head>
<body>
<div id="navbar">
<img src="https://mrtechtroid.github.io/assets/MTT_prev_ui.png" id="logo" alt="MTT Logo"
onclick="document.location ='https://mrtechtroid.github.io/'">
</div>
<div id="titlepage" class="section">
<div id="con">
<span style="font-size: 60px;font:Roboto bold;color:rgb(229, 255, 0);font-weight: bold;text-align: center;"
id="main_heading">Custom Rickroll Link Generator</span><br />
<span class="hd" id="text1" style="color:aqua;text-align: center;">Write a good headline and then trick your
friends/enemies with the link.</span>
<span style="display: flex;flex-direction: row;align-items: baseline;">
<input id="ricktxt"
style="padding:15px;margin:15px;width:50vw;color:white;background-color: transparent;border:4px solid lime;font-weight: bold;" onchange="gtlink()" onclick="gtlink()" onkeyup="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();">
<input type="text" list="sub_obs" / name="sub" id="ricksub" value="Breaking"
style="padding:10px;width:10vw;color:white;background-color: black;border:4px solid lime;" onchange="gtlink()" onclick="gtlink()" onkeyup="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();">
<datalist id="sub_obs">
<option value="Art">Art</option>
<option value="Business">Business</option>
<option value="Breaking">Breaking</option>
<option value="Culture">Culture</option>
<option value="Entertainment">Entertainment</option>
<option value="Food">Food</option>
<option value="Local">Local</option>
<option value="Movies">Movies</option>
<option value="Music">Music</option>
<option value="Nation">Nation</option>
<option value="Opinion">Opinion</option>
<option value="Science">Science</option>
<option value="Sports">Sports</option>
<option value="Style">Style</option>
<option value="Tech">Tech</option>
<option value="Travel">Travel</option>
<option value="World">World</option>
</datalist>
</span>
<span style="color:white">Use any of the following links:</span>
<span id="linkgen"
style="padding: 10px;background-color: rgb(90, 104, 102);color: rgb(102, 255, 71);" onclick="clip()">https://mrtechtroid.github.io/r/the-breaking-title</span>
<br><span id="linkgen2"
style="padding: 10px;background-color: rgb(90, 104, 102);color: rgb(102, 255, 71);" onclick="clip()">https://mtt.one/r/the-breaking-title</span>
<br><span id="linkgen3"
style="padding: 10px;background-color: rgb(90, 104, 102);color: rgb(102, 255, 71);" onclick="clip()">https://lnk2.netlify.app/r/the-breaking-title</span>
</div>
</div>
<script>
function gtlink() {
sub = document.getElementById("ricksub").value.toLowerCase()
headline = document.getElementById("ricktxt").value.toLowerCase()
headline = headline.replaceAll(" ","-")
headline = headline.replaceAll(".","")
document.getElementById("linkgen").innerText = "https://mrtechtroid.github.io/r/" + sub + "/" + headline
document.getElementById("linkgen2").innerText = "https://mtt.one/r/" + sub + "/" + headline
document.getElementById("linkgen3").innerText = "https://lnk2.netlify.app/r/" + sub + "/" + headline
}
function clip() {
var copyText = document.getElementById("linkgen");
copyText.select();
copyText.setSelectionRange(0, 99999);
navigator.clipboard.writeText(copyText.value);
alert("Copied the text: " + copyText.value);
}
</script>
</body>