-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: _unsorted
Problem
== Inline Script Block
Line: 470
----
<script>
window.addEventListener('load', function () {
var totalVal = document.getElementById("total").textContent;
var elements = document.getElementsByClassName("value");
Array.prototype.forEach.call(elements, function (element) {
if (element.style) {
element.style.width = ((element.textContent / totalVal) * 100) + "%";
}
});
}, false);
</script>
----
Solution
https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks