move to altcha dist_external to elide dependency on blob source in CSP

reference: https://altcha.org/docs/website-integration/#content-security-policy-csp
This commit is contained in:
Jack Case
2025-12-08 02:37:46 +00:00
parent 31a17eca78
commit e15ffdb4d8
2 changed files with 6 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Slop Farmer",
"version": "0.5.2",
"version": "0.5.4",
"author": "Jack Case",
"description": "Crowd-source AI slop pages and domains",
@@ -13,7 +13,7 @@
"*://*.duckduckgo.com/*"
],
"content_security_policy": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'; worker-src 'self'",
"content_security_policy": "script-src 'self' 'wasm-unsafe-eval'; worker-src 'self'",
"browser_action": {
"default_title": "Slop Farmer",

View File

@@ -5,8 +5,11 @@
<!-- <meta name="viewport" content="width=device-width, initial-scale=1.0"> -->
<!-- <script async defer src="https://cdn.jsdelivr.net/gh/altcha-org/altcha/dist/altcha.min.js" type="module"></script> -->
<script async src="/scripts/browser-action.js" type="module"></script>
<script async defer src="/scripts/altcha/dist/altcha.js" type="module"></script>
<script async defer src="/scripts/altcha/dist_external/altcha.js" type="module"></script>
<script async defer src="/scripts/altcha/dist_external/worker.js" type="module"></script>
<link rel="stylesheet" href="/styles/bulma/bulma.min.css">
<link rel="stylesheet" href="/scripts/altcha/dist_external/altcha.css">
<title>Slop Farmer</title>
</head>