-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
141 lines (127 loc) · 5.93 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
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
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="index.js"></script>
<link rel="stylesheet" href="style.css" >
</head>
<body>
<h1 style='font-size:4vw;' class="title" id="freedombrowser-title">Welcome to FreedomBrowser <br> Reporting and URL Index</h1>
<ul style="list-style: circle;">
<!-- FreedomBrowser News -->
<li style="color: indianred">
<b>
The Freedombrowser team is glad to have you back!
</b>
</li>
<br>
<li>
We are in the process of moving our services to a better server so some might be unstable.
</li>
<br>
<li>
We now have a discord server, Click <a href="https://discord.gg/dt9MeRegpF">here</a> to Join it!
</li>
<br>
<li>
FB now has an updated <a href="/about">About page</a>! Feel free to check it out!
</li>
<br>
<li>
Survey! Where are you accessing Freedombrowser from? Please vote only once.
</li>
<!-- FreedomBrowser News -->
</ul>
<br>
<hr>
<br>
Other Domains you can use to access this site include:
<li><a href="https://freedombrowser.org"> freedombrowser.org</a> (Main Domain)</li>
<!-- <li><a href="#"> freedombrowser.tk</a> (Secondary Domain) [Currently down]</li> -->
<li><a href="https://freedombrowser.uk.to"> freedombrowser.uk.to</a> (Secondary Domain) (UK Domain)</li>
<li><a href="https://freedombrowser.us.to"> freedombrowser.us.to</a> (Secondary Domain) (US Domain)</li>
<li><a href="https://classroom.google.uk.to"> classroom.google.uk.to</a>(Unblocked Domain)</li>
<li><a href="https://freedombrowser.fairuse.org/"> freedombrowser.fairuse.org</a>(Unblocked Domain)</li>
</ul><br>
</body>
<form class="report-container" id="report-container" onsubmit="return false;">
<input type="text" id="webhook-input" placeholder="Report a broken game or a bug, you can include your email if you want us to reach out to you" required><br>
<button type="button" onclick="sendData()">Submit</button>
</form>
<style>
.report-container {
display: flex;
justify-content: center;
position: relative;
align-items: center;
padding: 5px;
padding-bottom: 20px;
}
/* Style for the search input */
.report-container input[type="text"] {
padding: 12px;
border: 2px solid #ccc;
border-radius: 5px;
font-size: 18px;
inline-size: 100%;
margin-inline-end: 10px;
}
.report-container button {
background-color: #9d9d9d;
color: white;
padding: 12px 20px;
inline-size: 35%;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 18px;
}
</style>
<script>
const inputElement = document.getElementById('webhook-input');
var IP = "Unknown"
function getIP(json) {
IP = json.ip
}
var report
function sendData() {
if (!/^ *$/.test(inputElement.value)) {
$("#report-container").html('<div style="text-align: center; padding: 5px"><img src="slowloading.gif"' +
'alt="Submitting, please wait..." height="53px" width="53px"></div>')
report = JSON.stringify({
ip: IP+" Sent From URL site",
id: browserID,
content: inputElement.value.replace('"', ''),
});
$.ajax({
type: "POST",
url: "https://stonklat.com//report",
contentType: "application/json",
data: report,
success: function (response) {
if (response === '404') {
console.error('404 not found')
$("#report-container").html("Error 404 not found, please send us an email if you see this, thank you.")
} else if (response === 'ratelimited') {
$("#report-container").html("<h3><b style='font-family: sans-serif; color: red'></b>You are being rate limited</h3>")
} else if (response === 'spamdetected') {
$("#report-container").html("<h3><b style='font-family: sans-serif; color: red'></b>This report has been identified as spam</h3>")
} else {
console.log(response)
$("#report-container").html("<h3><b style='font-family: sans-serif'>Your report has been submitted, thank you</b></h3>");
}
},
error: function (error) {
console.log(error);
$("#report-container").html("<h3><b style='font-family: sans-serif; color: red'>This report could not be sent, due to an error." +
"It could be a temporary outage so please try again later.</b></h3>");
}
});
}
}
</script>
<script async src="https://api.ipify.org?format=jsonp&callback=getIP"></script> <!-- This is only for reports -->
<footer id="freedomfooter" style="border: none; border-radius: 10px; inset-inline-start: 0; inset-block-end: 0; padding: 5px;">
<p class="footer" style="user-select: none; color: black; font-size: 16px; text-align: center">© Copyright <span id="currentYear"></span> of The_Maple_Tree and STONKLAT
</p>
</footer>
</html>