TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Font-Face Toggler Bookmarklet

39 pointsby gslinover 1 year ago

3 comments

chrismorganover 1 year ago
A more reliable approach, though requiring a reload, is to block web fonts in uBlock Origin (which you’re using, right?)—there’s a button for the purpose.<p>You can also just turn font choice off altogether, so that you just get your chosen serif&#x2F;sans-serif&#x2F;monospace&#x2F;whatever fonts. In Firefox, it’s Settings → Fonts → Advanced → untick <i>Allow pages to choose their own fonts, instead of your selections above</i>. I started doing that a couple of years ago as an experiment and have never gone back: it makes the web <i>so</i> much better with minimal and typically unimportant breakage.
cxrover 1 year ago
&gt; When the stylesheets are not accessible by document.styleSheets API (e.g. on a third party domain, what!?)<p>I agree with the !? sentiment. An even bigger WTF, though, is that the server gets to control through CSP which off-site style sheets the user can link against and even whether use of the style attribute is permitted. CSP is one of the worst pieces of Web security infrastructure that modern browsers unwisely agreed to go along with. Incredibly user-hostile and worse, effectively irreversible—there&#x27;s basically no going back now because browsers don&#x27;t have the option at this point to say, &quot;Yeah, we&#x27;re not going to honor this anymore,&quot; without putting users at an even <i>greater</i> risk than before CSP ever existed. So not just detestable in the vein of WEI, but an utterly abominable technical work.
评论 #39000075 未加载
评论 #39000498 未加载
评论 #38998754 未加载
评论 #38999799 未加载
评论 #38998844 未加载
napoluxover 1 year ago
I might sound like a boomer, but I still use some...<p>Simple dark mode <a href="https:&#x2F;&#x2F;pastebin.com&#x2F;Dfxtd6hJ" rel="nofollow">https:&#x2F;&#x2F;pastebin.com&#x2F;Dfxtd6hJ</a><p>This one for responsive previews <a href="http:&#x2F;&#x2F;lab.maltewassermann.com&#x2F;viewport-resizer&#x2F;" rel="nofollow">http:&#x2F;&#x2F;lab.maltewassermann.com&#x2F;viewport-resizer&#x2F;</a>
评论 #39001509 未加载