-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
45 lines (39 loc) · 1.03 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
<!DOCTYPE html>
<html>
<head>
<style>
body {
font-family: sans-serif;
text-align: center;
}
</style>
</head>
<body>
<h1>bypass youtube comment filter</h1>
<textarea id="textInput" placeholder="Enter text here"></textarea>
<button onclick="modifyText()">Bypass</button>
<button onclick="copyText()">Copy</button>
<textarea id="modifiedText" readonly></textarea>
<script>
function modifyText() {
let text = document.getElementById("textInput").value;
let modifiedText = text
.split("\n")
.map(line => {
line = line.split("").reverse().join("");
line = "\u202E" + line;
line = line.split("").join("\u202E");
return line;
})
.join("\n");
document.getElementById("modifiedText").value = modifiedText;
}
function copyText() {
let copyText = document.getElementById("modifiedText");
copyText.select();
document.execCommand("copy");
alert("Text copied!");
}
</script>
</body>
</html>