Legend-of-iPhoenix / cemetech-userstyle

iPhoenix's Spiffy Cemetech Userstyle
MIT License
9 stars 4 forks source link

Migrate to manifest v3 #52

Open jake01756 opened 2 years ago

jake01756 commented 2 years ago

I think I have migrated everything correctly. I have tested this manifest, it is valid in regard to syntax. The host permissions and web accessible resources need to be tested.

For more information see: https://developer.chrome.com/docs/extensions/mv3/intro/ For more information about migrating see: https://developer.chrome.com/docs/extensions/mv3/intro/mv3-migration/ For a timeline see: https://developer.chrome.com/docs/extensions/mv3/mv2-sunset/

Legend-of-iPhoenix commented 2 years ago

Because Tari has updated SAX, the sax.js code I wrote doesn't work anymore and should probably be removed, meaning that the web-accessible resources section is kinda unnecessary anyway

jake01756 commented 2 years ago

Is the host permissions for http://decbot.cemetech.net/api/* still necessary? If it is possible to remove it, it would make web store reviews faster. (No big deal if it is necessary.)

jake01756 commented 2 years ago

Because Tari has updated SAX, the sax.js code I wrote doesn't work anymore and should probably be removed, meaning that the web-accessible resources section is kinda unnecessary anyway

Ok so I removed sax.js because it was causing problems. Now I have one last error. I have tried fixing this with no luck. It seems to be because of the content security policy with creating code from strings. I have tried every solution on google. Is the buttons.js a critical component?

image