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:
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "Slop Farmer",
|
"name": "Slop Farmer",
|
||||||
"version": "0.5.2",
|
"version": "0.5.4",
|
||||||
|
|
||||||
"author": "Jack Case",
|
"author": "Jack Case",
|
||||||
"description": "Crowd-source AI slop pages and domains",
|
"description": "Crowd-source AI slop pages and domains",
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
"*://*.duckduckgo.com/*"
|
"*://*.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": {
|
"browser_action": {
|
||||||
"default_title": "Slop Farmer",
|
"default_title": "Slop Farmer",
|
||||||
|
|||||||
@@ -5,8 +5,11 @@
|
|||||||
<!-- <meta name="viewport" content="width=device-width, initial-scale=1.0"> -->
|
<!-- <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 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 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="/styles/bulma/bulma.min.css">
|
||||||
|
<link rel="stylesheet" href="/scripts/altcha/dist_external/altcha.css">
|
||||||
<title>Slop Farmer</title>
|
<title>Slop Farmer</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user