Custom Font Isn't Working on Twitter

I've made a simple code to change the font on websites like Stack Overflow and Twitter. It works on Stack Overflow, but not on Twitter, where I get an error saying Refused to load the font 'data:font/ttf;base64. Could you take a look at my code and tell me how to fix it so it changes the font on Twitter too? https://github.com/sir-kokabi/test1
GitHub
GitHub - sir-kokabi/test1
Contribute to sir-kokabi/test1 development by creating an account on GitHub.
2 Replies
Ayub Kokabi
Ayub KokabiOP•10mo ago
?
Kylan Hurt
Kylan Hurt•3mo ago
I am having this same exact issue!
home:256 Refused to load the font 'data:font/otf;base64,[some code]' because it violates the following Content Security Policy directive: "font-src 'self' https://*.twimg.com".
home:256 Refused to load the font 'data:font/otf;base64,[some code]' because it violates the following Content Security Policy directive: "font-src 'self' https://*.twimg.com".
Want results from more Discord servers?
Add your server