codeforbtv / expunge-vt

Generate more expungements. Deliver more justice.
Apache License 2.0
14 stars 6 forks source link

Migrate to Manifest v3 #184

Open KyleMit opened 1 year ago

KyleMit commented 1 year ago

When we update to v3, we get the following errors

https://v2.vuejs.org/v2/guide/installation.html#CSP-environments

When we have the following CSP:

"extension_pages": "script-src 'self'; object-src 'self'"
[Vue warn]: It seems you are using the standalone build of Vue.js in an environment with Content Security Policy that prohibits unsafe-eval. The template compiler cannot work in this environment. Consider relaxing the policy to allow unsafe-eval or pre-compiling your templates into render functions.
[Vue warn]: Error compiling template: invalid expression: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'". in saved.counts.length == 0 Raw expression: v-if="saved.counts.length == 0" 1 | <div id="filing-app"> 2 | <div id="coverDiv" class="empty-state" v-if="saved.counts.length == 0"> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3 | <div id="logoDivCover"> 4 | <img id="code4btv" src="./images/code4BTV-logo-300-300.png" alt="Home" class="logos"> (found in <Root>)
KyleMit commented 1 year ago

Two baseline things I want to try