Added fake form at the top of html in attempt to mitigate spam, probably
wont work that well but might as well try
This commit is contained in:
@@ -8,6 +8,12 @@
|
|||||||
<%- include("../headers/site_wide") %>
|
<%- include("../headers/site_wide") %>
|
||||||
<%- include('../headers/timeline'); %>
|
<%- include('../headers/timeline'); %>
|
||||||
</div>
|
</div>
|
||||||
|
<form method="POST" action="/submit_nothing" style="display:none">
|
||||||
|
<input type="hidden" name="post_index" value="0">
|
||||||
|
<input placeholder="username" name="name"><br/>
|
||||||
|
<textarea placeholder="comment" name="content"></textarea><br/>
|
||||||
|
<button type="submit">Submit</button>
|
||||||
|
</form>
|
||||||
<div id="posts">
|
<div id="posts">
|
||||||
<% for (let index = posts.length - 1; index >= 0; index--) { %>
|
<% for (let index = posts.length - 1; index >= 0; index--) { %>
|
||||||
<% if (posts[index]["deleted"] != true) { %>
|
<% if (posts[index]["deleted"] != true) { %>
|
||||||
|
Reference in New Issue
Block a user