Skip to content

Commit a1af08b

Browse files
authored
Add dynamic site list
1 parent 4731368 commit a1af08b

File tree

2 files changed

+166
-2
lines changed

2 files changed

+166
-2
lines changed

howto.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ <h2 class="text-center" style="color: rgb(255,255,255);">How to get involved</h2
5151
</div>
5252
</div>
5353
<h3 class="mx-auto" style="width: 1050px;color: rgb(204,208,211);"><span class="badge badge-primary" style="width: 34px;height: 34px;font-size: 29px;padding-bottom: 37px;padding-right: 29px;">1</span>&nbsp; &nbsp;Don't visit the listed sites</h3>
54-
<p class="mx-auto" style="width: 1050px;">These sites mostly make ad revenue from every visit. Visiting the reposting sites supports them. You can download our free extension for Chrome, Firefox and Opera <a href="dl/extension.html">here</a>.</p>
54+
<p class="mx-auto" style="width: 1050px;">We maintain <a href="./sites.html">a list of sites</a> that illegally redistribute mods. These sites mostly make ad revenue from every visit. Visiting the reposting sites supports them. You can download our free extension for Chrome, Firefox and Opera <a href="dl/extension.html">here</a>.</p>
5555
<h3 class="mx-auto" style="width: 1050px;margin-top: 45px;color: rgb(204,208,211);"><span class="badge badge-primary" style="width: 34px;height: 34px;font-size: 29px;padding-bottom: 37px;padding-right: 29px;">2</span>&nbsp; &nbsp;Report reposting sites</h3>
5656
<p class="mx-auto" style="width: 1050px;">If you discover a new site, and don't see it on our lists, then feel free to notify us about the site via the <a href="contact.html">Contact Form</a>.</p>
5757
<h3 class="mx-auto" style="width: 1050px;margin-top: 45px;color: rgb(204,208,211);"><span class="badge badge-primary" style="width: 34px;height: 34px;font-size: 29px;padding-bottom: 37px;padding-right: 29px;">3</span>&nbsp; &nbsp;Contact mod authors</h3>
@@ -102,4 +102,4 @@ <h3>#StopModReposts</h3>
102102
<script src="assets/js/script.min.js"></script>
103103
</body>
104104

105-
</html>
105+
</html>

sites.html

Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
1+
<!DOCTYPE html>
2+
<html>
3+
4+
<head>
5+
<meta charset="utf-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
7+
<title>StopModReposts - Stopping Mod Reposting</title>
8+
<meta name="description" content="Don't give the mod reposting sites a chance! Mod reposting is bad for you and the developer. Your computer might be at risk when using mods from reposting sites. Sites like curse.com, curseforge.com and minecraftforum.net are safe.">
9+
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
10+
<link rel="stylesheet" href="assets/fonts/fontawesome-all.min.css">
11+
<link rel="stylesheet" href="assets/fonts/font-awesome.min.css">
12+
<link rel="stylesheet" href="assets/fonts/ionicons.min.css">
13+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400">
14+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
15+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/aos/2.1.1/aos.css">
16+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.3.1/css/swiper.min.css">
17+
<link rel="stylesheet" href="assets/css/styles.min.css">
18+
<!-- Global site tag (gtag.js) - Google Analytics -->
19+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-136534352-1"></script>
20+
<script>
21+
window.dataLayer = window.dataLayer || [];
22+
function gtag(){dataLayer.push(arguments);}
23+
gtag('js', new Date());
24+
25+
gtag('config', 'UA-136534352-1');
26+
</script>
27+
<style type="text/css">
28+
table {
29+
width: 100%;
30+
}
31+
thead tr {
32+
color: #eee;
33+
font-weight: bold;
34+
}
35+
thead tr td.rating {
36+
width: 10%;
37+
}
38+
tbody tr {
39+
color: #fff;
40+
background-color: #292D30;
41+
}
42+
tbody tr:nth-child(2n) {
43+
background-color: #23272A;
44+
}
45+
tbody tr .rating {
46+
font-weight: bold;
47+
}
48+
td {
49+
padding: 10px !important;
50+
}
51+
.rating-1 {
52+
color: lime;
53+
}
54+
.rating-2 {
55+
color: yellow;
56+
}
57+
.rating-3 {
58+
color: orange;
59+
}
60+
.rating-4 {
61+
color: orangered;
62+
}
63+
.rating-5 {
64+
color: #f33;
65+
}
66+
.rate-of {
67+
color: #aaa;
68+
}
69+
</style>
70+
71+
</head>
72+
73+
<body style="background-color: #23272a;">
74+
<nav class="navbar navbar-light navbar-expand-md navigation-clean" style="background-color: #1f2225;">
75+
<div class="container"><a class="navbar-brand" href="index.html" style="color: rgb(255,255,255);"><img src="assets/img/ZoI2D6yH_400x400.png" style="width: 31px;margin-right: 9px;">StopModReposts</a><button class="navbar-toggler" data-toggle="collapse" data-target="#navcol-1"><span class="sr-only">Toggle navigation</span><span class="navbar-toggler-icon" style="filter: invert(100%);"></span></button>
76+
<div
77+
class="collapse navbar-collapse" id="navcol-1">
78+
<ul class="nav navbar-nav ml-auto">
79+
<li class="nav-item" role="presentation"><a class="nav-link" href="index.html" style="color: rgb(108,108,109);">Home</a></li>
80+
<li class="nav-item" role="presentation"><a class="nav-link active" href="about.html" style="color: rgb(179,179,179);">About</a></li>
81+
<li class="nav-item" role="presentation"><a class="nav-link" href="howto.html" style="color: rgb(119,119,119);">Get Involved</a></li>
82+
<li class="nav-item" role="presentation"><a class="nav-link" href="faq.html" style="color: rgb(108,108,109);">FAQ</a></li>
83+
<li class="nav-item" role="presentation"><a class="nav-link" href="downloads.html" style="color: rgb(94,95,100);">Downloads</a></li>
84+
<li class="nav-item" role="presentation"><a class="nav-link" href="contact.html" style="color: rgb(94,95,100);">Contact</a></li>
85+
</ul>
86+
</div>
87+
</div>
88+
</nav>
89+
<div class="highlight-clean" style="background-color: #23272a;">
90+
<div class="container">
91+
<div class="intro" style="max-width: 700px;">
92+
<h2 class="text-center" style="color: rgb(255,255,255);">List of blocked sites</h2>
93+
<p class="text-center" style="margin-top: -20px;">The following sites are known for reposting mods illegally. They are harmful to the modding community and may even harm your computer. Avoid using them.</p>
94+
</div>
95+
</div>
96+
<div class="container">
97+
<table>
98+
<thead><tr>
99+
<td>Site name</td>
100+
<td class="rating">Ads</td>
101+
<td class="rating">Redistr.</td>
102+
<td class="rating">Misc.</td>
103+
<td>Notes</td>
104+
</tr></thead>
105+
<tbody id="sitelist"></tbody>
106+
</table>
107+
</div>
108+
</div>
109+
<div class="footer-dark" style="background-color: rgb(31,34,37);">
110+
<footer>
111+
<div class="container">
112+
<div class="row">
113+
<div class="col-sm-6 col-md-3 item">
114+
<h3>Links</h3>
115+
<ul>
116+
<li><a href="https://github.com/StopModReposts/Illegal-Mod-Sites/blob/master/SITES.md">List of Sites</a></li>
117+
<li><a href="https://github.com/StopModReposts/Illegal-Mod-Sites/blob/master/README.md">ReadMe on GitHub</a></li>
118+
<li><a href="https://github.com/StopModReposts/Illegal-Mod-Sites">GitHub Repository</a></li>
119+
<li><a href="progress.html" style="margin-bottom: 0px;">Site Progress</a></li>
120+
<li></li>
121+
</ul>
122+
</div>
123+
<div class="col-sm-6 col-md-3 item">
124+
<h3>Legal</h3>
125+
<ul>
126+
<li><a href="tos.html">Terms of Service</a></li>
127+
<li><a href="privacypolicy.html">Privacy Policy</a></li>
128+
</ul>
129+
</div>
130+
<div class="col-md-6 item text">
131+
<h3>#StopModReposts</h3>
132+
<p>Help us, by using this hashtag on social media.<br>Thank's for your support!</p>
133+
</div>
134+
<div class="col" style="margin-top: 10px;"><a href="https://twitter.com/stopmodreposts?ref_src=twsrc%5Etfw" class="twitter-follow-button" data-show-count="false">Follow @stopmodreposts</a><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
135+
136+
<a href="https://twitter.com/intent/tweet?screen_name=stopmodreposts&ref_src=twsrc%5Etfw" class="twitter-mention-button" data-show-count="false">Tweet to @stopmodreposts</a><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script></div>
137+
<div class="col item social" style="margin-top: 7px;"><a href="https://github.com/StopModReposts/Illegal-Mod-Sites" target="_blank"><i class="icon ion-social-github"></i></a><a href="https://twitter.com/stopmodreposts" target="_blank"><i class="icon ion-social-twitter"></i></a><a href="https://discord.gg/zg4tt2M"
138+
target="_blank"><i class="fab fa-discord"></i></a><a href="about.html" target="_blank"><i class="icon ion-information"></i></a></div>
139+
</div><p class="copyright">StopModReposts © 2018-2019</p></div>
140+
</footer>
141+
</div>
142+
<script src="assets/js/jquery.min.js"></script>
143+
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
144+
<script src="assets/js/smart-forms.min.js"></script>
145+
<script src="https://cdnjs.cloudflare.com/ajax/libs/aos/2.1.1/aos.js"></script>
146+
<script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.3.1/js/swiper.jquery.min.js"></script>
147+
<script src="assets/js/script.min.js"></script>
148+
<script type="text/javascript">
149+
$.getJSON("https://api.varden.info/smr/sitelist.php?format=json", function(result) {
150+
for (var i = 0; i < result.length; i++) {
151+
var row = $("<tr/>");
152+
var site = result[i].domain + (result[i].path == "/" ? "" : result[i].path);
153+
row.append($('<td/>').text(site));
154+
row.append($('<td/>').append($('<span class="rating"/>').text(result[i].advertising).addClass("rating-" + result[i].advertising)).append('<span class="rate-of">/5</span>'));
155+
row.append($('<td/>').append($('<span class="rating"/>').text(result[i].redistribution).addClass("rating-" + result[i].redistribution)).append('<span class="rate-of">/5</span>'));
156+
row.append($('<td/>').append($('<span class="rating"/>').text(result[i].miscellaneous).addClass("rating-" + result[i].miscellaneous)).append('<span class="rate-of">/5</span>'));
157+
row.append($('<td/>').text(result[i].notes));
158+
$("#sitelist").append(row);
159+
}
160+
});
161+
</script>
162+
</body>
163+
164+
</html>

0 commit comments

Comments
 (0)