diff --git a/apps/i2ptunnel/jsp/editClient.jsp b/apps/i2ptunnel/jsp/editClient.jsp
index 2fd4391ce9..d176b1e72a 100644
--- a/apps/i2ptunnel/jsp/editClient.jsp
+++ b/apps/i2ptunnel/jsp/editClient.jsp
@@ -14,6 +14,11 @@
}
}
%>
+
+<%
+ response.setHeader("Content-Security-Policy", "default-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline'");
+%>
+
- " tabindex="0"><%=editBean.getDestinationBase64(curTunnel)%>
+ " tabindex="0" onblur="resetScrollLeft(this)"><%=editBean.getDestinationBase64(curTunnel)%>
|
<% String value3 = editBean.getPrivateKeyFile(curTunnel);
@@ -814,7 +820,7 @@ input.default { width: 1px; height: 1px; visibility: hidden; }
|
@@ -184,7 +185,7 @@ ${book.loadBookMessages}
">b32 |
">link |
"><%=intl._t("details")%> |
-
${addr.destination} |
+
${addr.destination} |
"> |
diff --git a/history.txt b/history.txt
index 9d6735f899..05d901477b 100644
--- a/history.txt
+++ b/history.txt
@@ -1,5 +1,7 @@
2017-07-26 str4d
* Console:
+ - Add JavaScript snippet to reset dest address scroll position onblur (fixes
+ Chrome/Blink disappearing text bugs in i2ptunnel and susidns)
- /debug:
- Add container divs and styling markup
- Add top navigation menu