qutebrowser/tests/end2end/data/javascript/enabled.html
2018-02-23 15:08:07 +01:00

17 lines
450 B
HTML

<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
function check_enabled() {
const elem = document.getElementById("status");
elem.innerHTML = "enabled";
console.log("JavaScript is enabled");
}
</script>
</head>
<body onload="check_enabled()">
<p>JavaScript is <span id="status">disabled</span></p>
<noscript>noscript tag</noscript>
</body>
</html>