diff --git a/templates/manage_new.html b/templates/manage_new.html index 69c11ca20..86a4048ac 100644 --- a/templates/manage_new.html +++ b/templates/manage_new.html @@ -737,11 +737,13 @@
This token has {% if canarydrop.triggered_detail temptextArea.innerHTML = ClonedSiteJs; return temptextArea.value; } + {% if canarydrop.type == 'clonedsite'%} // Add cloned-site obfuscated js to textArea $('#result_cloned_website_obfuscated').append(obfuscateClonedWebJs(decodeClonedSiteJs(`{{canarydrop.get_cloned_site_javascript(force_https)}}`))); // Trim white spaces from inner HTML let unobfuscated_cloned_website_js = document.getElementById("result_clonedsite"); unobfuscated_cloned_website_js.innerHTML = unobfuscated_cloned_website_js.innerHTML.trim() + {%endif%} var displayToken = function(data) { var type = data['type'];