Allow the .webp format to be used, right now im trying to use:
https://i.giphy.com/PLJeLzh6gfL2LhUIW0.webp
and since csp blocks that url, i upload it to a community i make, but then its no longer animated
EDIT: Also possibly allow github urls (e.g. raw.githubusercontent.com, *.github.io, github.com, etc)
What if there were uploads/assets associated with themes? Allowing the user to add their own CSP domains is a very band-aid fix.
Current solutions are to either convert everything to data: URIs or upload your files to Fluxer itself via a dump server or Personal Notes, as the CSP policy allows the uploaded-files server.
What if there were uploads/assets associated with themes? Allowing the user to add their own CSP domains is a very band-aid fix.
Current solutions are to either convert everything to data: URIs or upload your files to Fluxer itself via a dump server or Personal Notes, as the CSP policy allows the uploaded-files server.
This does sound like an interesting solution but I personally think CSP domain adding would be better.
RexSystem1 voteoriginally by @retcinder on GitHub8 replies
This would be really handy. I personally would need codeberg to be accessible (as it wouldn't be feasible for 20+ images to be loaded from saved media).
Given that it would be a security issue to enable it globally on specific sites, perhaps it can be a GUI popup on a per git-repository/base-url basis? (So, prompt to enable it on exampledomain/foo/bar-theme, allowing any file to be loaded from a URL matching that description IF THE USER AUTHORISES IT)
RexSystem1 voteoriginally by @icicle1133 on GitHub OP
This would be really handy. I personally would need codeberg to be accessible (as it wouldn't be feasible for 20+ images to be loaded from saved media).
Given that it would be a security issue to enable it globally on specific sites, perhaps it can be a GUI popup on a per git-repository/base-url basis? (So, prompt to enable it on exampledomain/foo/bar-theme, allowing any file to be loaded from a URL matching that description IF THE USER AUTHORISES IT)
i thought about doing this and making a pull request
@tulpenkiste
imageimage
it works so far, however most themes for betterdiscord/vencord still need rewritten
EDIT: I did NOT remove anything to do with CSP, i added github urls and some giphy urls
> edit: @tulpenkiste i dont know what codeberg is so please reply with some urls for it and i will add it in!
Codeberg is another site for hosting git repositories, I use it for all of my personal projects. You can find more information about it at here.
13 comments
Comment by @nesges
Comment by @icicle1133
Comment by @zulc22
Comment by @retcinder
Comment by @retcinder
Comment by @icicle1133
Comment by @icicle1133
555031156-c2602500-fee7-4ffe-9e5e-7be1a7d791b1.png
565×506 | 43 kB
555031241-1cd80ab2-46a2-4477-abfb-ebf085e6630f.png
1404×881 | 128 kB
Comment by @retcinder
Comment by @icicle1133
555097591-08273aab-3fca-4673-97f3-f30626f5ae11.png
1035×109 | 8 kB
Comment by @retcinder
Comment by @icicle1133
Comment by @retcinder
Comment by @retcinder
https://codeberg.organd maybehttps://*.codeberg.pagethough, so easy fix