Closed kabir-afk closed 3 months ago
@kabir-afk can you clarify :
I cloned your branch, attempted loading, FF rejects it and Chrome's SignIt popup stales. (but I got this issue with my own code all day)
@kabir-afk can you clarify :
- you work with manifest v3.0, are you working on chrome or FF ?
- you confirm the main elements (popup ; modal) both work ?
I cloned your branch, attempted loading, FF rejects it and Chrome's SignIt popup stales. (but I got this issue with my own code all day)
background scripts
in manifest
with that of V2 , and I can get the popup to come...I think directly switching to an unreliable service_worker
isn't gonna help so I say we stick to mainfest V2 background script for a while
This PR arose because of issue#55 . Apparently upon unpacking the extension file it showed
The issue could have been resolved by simply removing
object-src 'self' https://commons.wikimedia.org;
from extension pages but I not only removed it but also updated it as per the syntax of manifest V3 which changedextension_pages
to a dictionary and introduced thesandbox
key. Now upon unpacking it won't show CSP related issues in chrome dev mode.Regarding the
service worker file
, I have built it on top of oldbackground-script.js
using GPT so might not work as intended . . . feel free to make it work better