<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
</head>
<body>
<!--Some HTML content here-->
<!--
Include a third-party script.
See also https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity.
-->
<script
src="https://code.jquery.com/jquery-2.2.4.js"
integrity="sha256-iT6Q9iMJYuQiMWNd9lDyBUStIq/8PuOW33aOqmvFpqI="
crossorigin="anonymous"></script>
<!-- Include my popup's own script-->
<script src="popup.js"></script>
</body>
</html>Content Security Policy / notebook
Content Security Policy
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
<script src="https://code.jquery.com/jquery-2.2.4.js"></script>eval("console.log('some output');");setTimeout("alert('Hello World!');", 500);const f = new Function("console.log('foo');");<script>
console.log("foo");
</script><div onclick="console.log('click')">Click me!</div>