Raindrop.io Bookmarks 08/20/2022
著
- iOS Privacy: Announcing InAppBrowser.com - see what JavaScript commands get injected through an in-app browser · Felix Krause
"InAppBrowser.com is designed for everybody to verify for themselves what apps are doing inside their in-app browsers. I have decided to open source the code used for this analysis, you can check it out on GitHub. This allows the community to update and improve this script over time."
- HTML is all you need to make a website
"what I am sure about, is that websites don't need to be complicated to be effective. Add less. Ship less. Worry about less. And remember -- HTML is where it all started. And it's all you ever need to get started."
- Using :has() as a CSS Parent Selector and much more | WebKit
"In 2021, Igalia started advocating for :has() among browser engineering teams, prototyping their ideas and documenting their findings regarding performance. The renewed attention on :has() caught the attention of engineers who work on WebKit at Apple. We started implementing the pseudo-class, thinking through possibilities for the needed performance enhancements to make this work."
- outline is your friend - Manuel Matuzović
"Yes, they are using background-color, but they're doing it in combination with outline. This is a nice trick to avoid visible outlines in normal color mode and assure that they're displayed in forced color mode."
- AddyOsmani.com - Tip - Use fetchpriority=high to load your LCP hero image sooner
"Add fetchpriority="high" to your Largest Contentful Paint (LCP) image to get it to load sooner. Priority Hints sped up Etsy's LCP by 4% with some sites seeing an improvement of up to 20-30% in their lab tests. In many cases, fetchpriority should lead to a nice boost for LCP."
- Watch my Live Accessibility Review of KEXP.org
"Sometimes there's a tendency for people to make excuses for an organization because "they're a nonprofit" or "it's just a music website" but the reality is these types of issues are present in all kinds of websites all across the internet."