<!DOCTYPE html>
<head>
<title>fedi-block-api{% if domain %} {{domain}}{% endif %}</title>
+ <link rel="alternate" type="application/rss+xml" title="RSS Feed for {{base_url}}" href="{base_url}/rss" />
<style>
body {
background-color: #000022;
<tr>
<td>{{loop.index}}</td>
<td>
- <img src="https://proxy.duckduckgo.com/ip3/{{entry['domain']}}.ico" width=16/>
+ <img src="https://proxy.duckduckgo.com/ip3/{{entry['domain']}}.ico" width="16" />
<b><a href="../?{% if blockers %}reverse{% elif blocked %}domain{% endif %}={{entry['domain']}}" rel="nofollow noopener noreferrer">{{entry['domain']}}</a></b>
- <a class="listlink" href="https://{{entry['domain']}}">↗</a>
+ <a class="listlink" href="https://{{entry['domain']}}" rel="external" target="_blank">↗</a>
</td>
<td>{{entry['highscore']}}</td>
</tr>
{% for block in blocks[block_level] %}
<tr>
<td>
- <img src="https://proxy.duckduckgo.com/ip3/{{block['blocker']}}.ico" width=16/>
<b><a href="https://{{block['blocker']}}" rel="nofollow noopener noreferrer">{{block['blocker']}}</a></b>
{% if reason or domain %}<a class="listlink" href="./?reverse={{block['blocker']}}">↘</a>{% endif %}
</td>
<td>
- <img src="https://proxy.duckduckgo.com/ip3/{{domain or block['blocked']}}.ico" width=16/>
<b><a href="https://{{domain or block['blocked']}}" rel="nofollow noopener noreferrer">{{block['blocked']}}</a></b>
{% if reason or reverse %}<a class="listlink" href="./?domain={{domain or block['blocked']}}">↘</a>{% endif %}
</td>
{% else %}
<h1>Enter a Domain</h1>
<form>
- <input type="text" name="domain" placeholder="example.com" />
+ <input type="text" name="domain" placeholder="example.com" required="required" />
<input type="submit" value="Submit" />
</form>
<h1>Enter a Reason</h1>
<form>
- <input type="text" name="reason" placeholder="free speech" />
+ <input type="text" name="reason" placeholder="free speech" required="required" />
<input type="submit" value="Submit" />
</form>
<h1>Reverse search</h1>
<form>
- <input type="text" name="reverse" placeholder="example.com" />
+ <input type="text" name="reverse" placeholder="example.com" required="required" />
<input type="submit" value="Submit" />
</form>
<p>