Change script prompt to be more friendly

This commit is contained in:
Calvin Montgomery 2014-07-01 21:13:52 -07:00
parent 256a951531
commit d3b4ac1468

View file

@ -2576,9 +2576,7 @@ function checkScriptAccess(source, type, cb) {
.attr("id", "chanjs-allow-prompt")
.attr("style", "text-align: center")
.appendTo(div);
form.append("<span>This channel is requesting permission to run a 3rd-party " +
"script for additional features. <strong>Only " +
"run scripts from channels you trust.</strong></span><br>");
form.append("<span>This channel has special features that require your permission to run.</span><br>");
$("<a/>").attr("href", source)
.attr("target", "_blank")
.text(type === "embedded" ? "view embedded script" : source)