New Feature - Report URLs

Lately, I have received relatively few requests with potentially bad URLs. On the one hand, that could be because ClearURLs are working very well by now. But I also think that not everyone wants to sign up to GitLab to report a URL. That's why I've added a new button that reports the current URL in the active tab to me, so I can take a closer look at the URL.

So that you can see exactly what data will be sent to me, I have uploaded the source code for the PHP script, of course, without a password etc.

Please be careful not to send URLs with personal information or tokens.
This commit is contained in:
Kevin Röbert
2018-08-31 20:55:15 +02:00
parent dd3bbac0ba
commit 64ed933361
9 changed files with 143 additions and 5 deletions

View File

@@ -133,12 +133,19 @@
<div class="col-sm-1">
<div class="text-center">
<a type="button" id="loggingPage" target="_blank"
class="btn btn-default btn-sm btn-block">
</a>
class="btn btn-default btn-sm btn-block"></a>
</div>
</div>
</div>
</div>
<br />
<br />
<div class="row" id="report_section">
<div class="col-sm-1">
<div class="text-center">
<a type="button" id="reportButton" target="_blank"
class="btn btn-warning btn-sm btn-block"></a>
</div>
</div>
<br />
</div>

View File

@@ -62,6 +62,11 @@
<input type="text" id="types" value="" name="types" class="form-control" />
</p>
<br />
<p>
<label id="report_server_label"></label><br />
<input type="text" id="report_server" value="" name="report_server" class="form-control" />
</p>
<br />
<p class="text-center">
<button type="button" id="save_settings_btn"
class="btn btn-success" title="Save the settings"></button>