---
title: "How to build complex Chrome extensions"
publication: "Frontend Focus"
issue: 653
published_at: "2024-07-24"
canonical_url: "https://frontendfoc.us/issues/653"
---

Plus getting practical with SVG, impractical with box shadows, and optimal line lengths for reading. |       

Together with [![WorkOS\](https://res.cloudinary.com/cpress/image/upload/c_fill,g_auto,w_514,h_98/e_make_transparent/co_white,e_outline:9/tdfxwgk852ui9leli4wm.png)](https://workos.com/?utm_source=fefocus&utm_medium=newsletter&utm_campaign=q22024)        

🚀 **Frontend** Focus 

#​653 — July 24, 2024 | [Read on the web](https://frontendfoc.us/issues/653)      

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/hrslobtb0jv4scyd5eyl.jpg)](https://ishadeed.com/article/css-grid-area/)  

[Going Deep into CSS Grid Areas](https://ishadeed.com/article/css-grid-area/) — We’re seven years into widespread support for [CSS Grid](https://css-tricks.com/snippets/css/complete-guide-grid/), but its use still isn’t as widespread as it should be, says Ahmad. He digs into the power of CSS Grid’s ability to define and name specific grid areas here, complete with diagrams and code. 

Ahmad Shadeed   

[Google's 'New Path' for _Privacy Sandbox_ on the Web](https://privacysandbox.com/news/privacy-sandbox-update/) — If you’ve seen stories about [Google backtracking on blocking third-party cookies](https://www.theregister.com/2024/07/23/google_cookies_third_party_continue/) in Chrome, this is where the news first dropped. Instead of deprecating such cookies, Google wants to enhance how users make privacy related choices as part of their _Privacy Sandbox_ initiative. Unsurprisingly, many are unhappy at the U-turn, [including privacy regulators.](https://ico.org.uk/about-the-ico/media-centre/news-and-blogs/2024/07/ico-statement-in-response-to-google-announcing-it-will-no-longer-block-third-party-cookies/) 

Google   [![\](https://copm.s3.amazonaws.com/c9f90841.png)](https://workos.com/?utm_source=fefocus&utm_medium=newsletter&utm_campaign=q22024) 

[WorkOS: Start Selling to Enterprises with Just a Few Lines of Code](https://workos.com/?utm_source=fefocus&utm_medium=newsletter&utm_campaign=q22024) — WorkOS is a modern identity platform for B2B SaaS. It provides flexible and easy-to-use APIs to integrate SSO, SCIM, and RBAC in minutes. WorkOS is used by hundreds of high-growth startups including Perplexity, Vercel, Drata, & Webflow. 

WorkOS sponsor   

[How to Make Complex Chrome Extensions](https://evilmartians.com/chronicles/how-to-make-complex-chrome-plugins-a-zero-gravity-guide) — Spinning up a quick, simple browser extension isn’t a huge task nowadays, especially with tools like [Extension](https://extension.js.org/) to kick off a project. Building larger extensions is a different story, so it’s great to learn from the experiences of a team that’s built one. 

Nina Torgunakova   

[CSS Stuff I'm Excited About After the Last CSSWG Meeting](https://css-tricks.com/css-stuff-im-excited-after-the-last-csswg-meeting/) — We’ve seen plenty of advances in CSS over the past few years – many of which we’ve covered in _Frontend Focus_ – but things don’t stop. Inline conditionals, cross-document view transitions, anchor positioning, and more await us. 

Juan Diego Rodríguez     

⚡️ Quick Links 

- 🔠 [The CSS `font-size-adjust` property](https://web.dev/blog/font-size-adjust) has landed in Chrome 127 and is now part of Baseline too.
- 📕 Chris Coyier's 2016 book [_Practical SVG_ is now free to read online.](https://chriscoyier.net/2024/07/22/practical-svg-is-now-free-to-read-online/) SVG has changed relatively little since then, so it remains a highly valuable resource.
- 🧭 [Version 199 of Safari Technology Preview is available](https://webkit.org/blog/15735/release-notes-for-safari-technology-preview-199/), with new CSS and JS features, along with a handful of fixes. [Chrome 127](https://developer.chrome.com/release-notes/127) has landed too.
- 📊 The [results of the State of React 2023 survey](https://2023.stateofreact.com/en-US/) have been released.
- 🔒 ICANN is attempting to [tackle issues with the `.top` TLD](https://krebsonsecurity.com/2024/07/phish-friendly-domain-registry-top-put-on-notice/) being used for phishing sites.     

📙 **Tutorials, Articles & Opinion** 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/ew77emldtg1v4cuvpfv4.jpg)](https://dgerrells.com/blog/how-not-to-use-box-shadows)  

[So You Think You Know Box Shadows?](https://dgerrells.com/blog/how-not-to-use-box-shadows) — Or, perhaps, _“How not to use box shadows.”_ David sets out to share _“some of the worst possible things”_ you can do with box shadows on DIV elements, but in reality they’re also quite impressive and striking. 

David Gerrells   

[Alternative/`alt` Text in Action](https://accessibility.blog.gov.uk/2024/07/17/alternative-text-in-action/) — Some sound, considered advice from the accessibility team behind the United Kingdom’s official government Web site. 

Katherine Moonan and Samantha Merrett   

[Tracing: Frontend Issues with Backend Solutions](https://sentry.io/resources/tracing-frontend-issues-with-backend-solutions/?utm_medium=paid-community&utm_source=frontendfocus&utm_campaign=fy25q2-tracingworkshop&utm_content=newsletter-tracingworkshop-watchondemand) — What if the problem isn’t on the front end? How do you trace issues through your stack? Watch the on-demand workshop. 

Sentry sponsor   

[Readability: The Optimal Line Length](https://baymard.com/blog/line-length-readability) — The length of text lines substantially impacts their readability. Here’s some best practice pointers. 

Edward Scott   

[The Pitfalls of In-App Browsers](https://frontendmasters.com/blog/the-pitfalls-of-in-app-browsers/) — Some apps opt to use an in-app browser to browse links navigated inside the app, rather than reaching out to a standalone browser. Paul outlines some of the drawbacks to keep in mind. 

Paul Esch-Laurent   

▶[Don't Use JS for That: Moving Features to CSS and HTML](https://www.youtube.com/watch?v=IP_rtWEMR0o) — Packed with code and practical examples. 
Kilian Valkhof   

[How to Create Distortion and Grain Effects on Scroll with Shaders in Three.js](https://tympanus.net/codrops/2024/07/18/how-to-create-distortion-and-grain-effects-on-scroll-with-shaders-in-three-js/) 
Jan Kohlbach  

🔧 **Code, Tools & Resources** 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/v1721395347/iwzhalmqluxhmpkgiltx.png)](https://www.designgui.io/)  

[Design GUI: Browser Extension for Managing Colors in CSS Variables](https://www.designgui.io/) — Lots of features in this one including AI-generated color palettes, accessibility testing, support for shadcn/ui — overall a nice tool for those working with design systems. 

James Chetwood   

[Maska 3.0: Zero-Dependency Input Mask Library](https://beholdr.github.io/maska/v3/#/) — There are several demos on the homepage. Lightweight and framework independent but offers Vue 2/3, Alpine.js and Svelte integrations. [GitHub repo.](https://github.com/beholdr/maska) 

Form․io   

[Simplify Your Data Collection with a Fully Integrated Form Management Platform](https://surveyjs.io/?utm_source=frontend_focus&utm_medium=email) — SurveyJS is an open-source JavaScript form library suite for secure form creation and data collection in your application. Build better forms, faster and without manual coding. 

SurveyJS sponsor   [![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/v1721394743/daogb5sgaonhu7zz3ysq.png)](https://matcha.mizu.sh/) 

[matcha.css: A Drop-In Semantic Styling Library in Pure CSS](https://matcha.mizu.sh/) — Designed for simple sites and prototypes, this provides a starter stylesheet that adds sensible defaults to a wide set of HTML elements. 

Simon Lecoq   

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/gwfudgnx0jmy2v1zcaey.jpg)](https://patternpad.com/)  

[PatternPad: An Online Tool to Create Beautiful Patterns](https://patternpad.com/) — Patterns are downloadable as SVG, PNG, or JPEG, and you can customize them endlessly and choose from predefined color palettes. 

PatternPad   

[WCAG Plugin: A Figma Plugin to Enhance Accessibility](https://www.figma.com/community/plugin/1373362852131056921/wcag-plugin) — Helpful for accessibility teams that need to ensure designs follow WCAG standards and guidelines. For example, the plugin lets you add accessibility annotations to design elements. 

Marcelo Paiva     

🕰️ ICYMI (_Older links, still worth checking out_) 

- [Some CSS to consider when styling anchor links](https://codersblock.com/blog/anchor-links-and-how-to-make-them-awesome/) that will make them _awesome_.
- Ralph Mason quickly shows us [how to animate a background gradient](https://www.sitepoint.com/css-animate-text-gradients-patterns/) with CSS.
- It's a mighty challenge, but if you want to build a browser engine, Robert O'Callahan has some [words of advice](https://robert.ocallahan.org/2024/06/browser-engine.html).      

📬 

**Got a new email address?** You can [change your email here](https://frontendfoc.us/edit_subscription/*|UID|*). 

--- 

**Bored of us?** Click [here to stop getting this newsletter](https://frontendfoc.us/leave/*|UID|*). 

--- 

**Got a link for us?** Reply and tell us. We can't include everything but we'll take a look. 

--- 

Published by Cooper Press Ltd.
Curated by [Chris Brandrick](https://mastodon.social/@brandrick) & [Peter Cooper](https://twitter.com/cooperx86).
Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom 

[Stop getting this newsletter](https://frontendfoc.us/leave/*|UID|*)  

[Ipx.](https://frontendfoc.us/open/653/*|UID|*?ipx=t)
