Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE HTML>
<html>
<head>
</head>
<body>
<div id="testdiv">blocked</div>
<script nonce="foo">
// eslint-disable-next-line no-eval
eval('document.getElementById("testdiv").innerHTML = "allowed";');
</script>
</body>
</html>