File: csp-test.html

package info (click to toggle)
htmx 2.0.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 96,944 kB
  • sloc: javascript: 65,214; ruby: 44; sh: 39; makefile: 7
file content (13 lines) | stat: -rw-r--r-- 454 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>Test if indicators are invisible by default</title>
    <script src="../../src/htmx.js"></script>
    <meta http-equiv="Content-Security-Policy" content="default-src *; script-src 'unsafe-inline'">
</head>
<body style="padding:20px;font-family: sans-serif">
<script src="../../src/htmx.js"></script>
<h1>CSP Test</h1>
<button onclick="htmx._('foo');">Click To Eval</button>
</body>
</html>