diff --git a/website/web/static/tree.js b/website/web/static/tree.js index 342301a1..4336ad83 100644 --- a/website/web/static/tree.js +++ b/website/web/static/tree.js @@ -78,6 +78,12 @@ function collapse(d) { } }; +function openTreeInNewTab(treeUUID) { + var win = window.open('/tree/' + treeUUID, '_blank'); + // FIXME: If win is None, the browser didn't allow opening a new tab, we need to inform the user. + win.focus(); +} + function urlnode_click(d) { var url = "/tree/url/" + d.data.uuid; d3.blob(url, {credentials: 'same-origin'}).then(data => { diff --git a/website/web/templates/body_hash.html b/website/web/templates/body_hash.html index 0a8e7041..a5606f85 100644 --- a/website/web/templates/body_hash.html +++ b/website/web/templates/body_hash.html @@ -14,6 +14,12 @@ }); + + {% endblock %} {% block styles %} @@ -50,7 +56,7 @@
The same file was seen in these captures:
A cookie with that name was seen in these captures: