Tropix126 / BetterDiscordStuff

Personal repository for hosting code relating to BetterDiscord.
https://tropix126.github.io/BetterDiscordStuff/
MIT License
55 stars 144 forks source link

FriendGrid - Mixed Content Error #70

Open cdantetho opened 4 years ago

cdantetho commented 4 years ago

FriendGrid - Mixed Content Error

HTTPS Stylesheet references an HTTP stylesheet. Throws this error in Discord's console when the theme is loaded and enabled:

friendgrid_mixedContent

Your friendgrid.theme.css imports base.css. base.css imports anti-betterdocs css on line 12 using HTTP whereas the base.css and bdsources url is HTTPS. Chrome/chromium/Discord freaks out because of mixed http / https content.

Replace HTTP reference with HTTPS.

cdantetho commented 4 years ago

Mixed Content Error & Deprecated Reference FIX:

While diving into this issue, I noticed the references were deprecated. Did some googling and I believe this is the current link: bdsources/sourcecheck.

The best fix would be to replace the reference in /friendgrid/v3/css/base.css on line 12:

@import url('http://anti-betterdocs.github.io/BlockBetterDocs/code.css'); with the following code: @import url('https://raw.githubusercontent.com/bdsources/sourcecheck/master/code.css');


I would create a branch and pull request to make this easier for you, but I realized I couldn't.