discord-PWA icon indicating copy to clipboard operation
discord-PWA copied to clipboard

User Javascript can break functionality

Open NeverDecaf opened this issue 3 years ago • 0 comments

If the Custom Javascript supplied in the extension's options throws an error, this can cause the js that is essential to the extension to not run correctly, which will break the PWA. (This may specific to the script I was using, as it tampers with discord's webpack.) The solution should be to catch and safely ignore errors caused by user js, though this poses an issue with unsafe-inline (see #28).

This is a partial duplicate of #28, which is essentially 2 separate issues.

NeverDecaf avatar May 20 '21 23:05 NeverDecaf