mirror of https://github.com/calzoneman/sync.git
Change script prompt to be more friendly
This commit is contained in:
parent
256a951531
commit
d3b4ac1468
|
@ -2576,9 +2576,7 @@ function checkScriptAccess(source, type, cb) {
|
||||||
.attr("id", "chanjs-allow-prompt")
|
.attr("id", "chanjs-allow-prompt")
|
||||||
.attr("style", "text-align: center")
|
.attr("style", "text-align: center")
|
||||||
.appendTo(div);
|
.appendTo(div);
|
||||||
form.append("<span>This channel is requesting permission to run a 3rd-party " +
|
form.append("<span>This channel has special features that require your permission to run.</span><br>");
|
||||||
"script for additional features. <strong>Only " +
|
|
||||||
"run scripts from channels you trust.</strong></span><br>");
|
|
||||||
$("<a/>").attr("href", source)
|
$("<a/>").attr("href", source)
|
||||||
.attr("target", "_blank")
|
.attr("target", "_blank")
|
||||||
.text(type === "embedded" ? "view embedded script" : source)
|
.text(type === "embedded" ? "view embedded script" : source)
|
||||||
|
|
Loading…
Reference in New Issue