Strencher / BdBrowser

72 stars 8 forks source link

BetterFormattingRedux not working #6

Open Serega007RU opened 3 years ago

Serega007RU commented 3 years ago

I get an error in the console

[PluginManager] Unable to fire observer for BetterFormattingRedux v2.3.12 TypeError: Cannot read properties of undefined (reading 'create')
    at BetterFormattingRedux.buildToolbar (betterdiscord://plugins/BetterFormattingRedux.plugin.js:576)
    at BetterFormattingRedux.addToolbar (betterdiscord://plugins/BetterFormattingRedux.plugin.js:611)
    at BetterFormattingRedux.observer (betterdiscord://plugins/BetterFormattingRedux.plugin.js:396)
    at PluginManager.onMutation (webpack-internal:///./src/modules/pluginmanager.js:296)
    at MutationObserver.eval (webpack-internal:///./src/modules/pluginmanager.js:62)

I also get this error, it seems to be related to this plugin.

Refused to load the script 'https://rauenzi.github.io/BetterDiscordAddons/Plugins/Sortable.js' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' 'unsafe-inline' 'nonce-ODcsNDYsMjE5LDg3LDE5OCwxOTQsMjQwLDExMw==' https://cdn.discordapp.com/animations/ https://www.gstatic.com/recaptcha/ https://www.google.com/recaptcha/ https://recaptcha.net/recaptcha/ https://*.hcaptcha.com https://hcaptcha.com https://js.stripe.com https://js.braintreegateway.com https://assets.braintreegateway.com https://www.paypalobjects.com https://checkout.paypal.com". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

I tried manually loading Sortable and adding it to plugins but it doesn't seem to be a plugin

Strencher commented 3 years ago

Yeah, sortable is an issue. I'll see later if i can see how to deal with that.