replace script tag with noscript and inline the states of form field components

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent ed2bc918e0
commit e9cf631934
6 changed files with 195 additions and 75 deletions

View File

@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>with script</title>
</head>
<body>
<script src="a.js"></script>
<script>
console.log(1)
</script>
</body>
</html>