Script Integrity Polyfill.io recently served malicious code, redirecting users to inappropriate sites. Subresource Integrity (SRI) can help prevent such issues by verifying script integrity.
Frontend Masters’ Post
More Relevant Posts
-
Coding a nav bar in Next.js Learn the complete fundamentals of Next.js with Scott Moss here: https://lnkd.in/guM9fJAZ
To view or add a comment, sign in
-
I found this essay Primitive Obsession (https://lnkd.in/gZkPhNqs) by Andrew Cairns interesting. The big example in it is this: $user = new User('abc123', '[email protected]'); Here the User function takes two string params, string being a primitive type, and here, quite easy to screw up by passing them in the wrong order and/or not pre-validating the values. If you agree, there are a variety of ways to tackle this problem which generally boil down to passing in a typed object. TypeScript and Zod fans will be like: yeah duh.
Primitive Obsession – Frontend Masters Boost
https://frontendmasters.com/blog
To view or add a comment, sign in
-
Why is this thing in Dark Mode? The website has the most control, since that's what applies the CSS. But browsers also have a Dark/Light/System setting, and that can fall through to the OS/Device.
Why is this thing in Dark Mode? – Frontend Masters Boost
https://frontendmasters.com/blog
To view or add a comment, sign in
-
Project specific performance optimization Learn to write "Blazingly Fast JavaScript" with @ThePrimeagen: https://lnkd.in/gYXTjHSp
To view or add a comment, sign in
-
Why Anjana prefers arrow functions "The universe in a single arrow" talk is here: https://lnkd.in/gGJzUGhj Anjana's popular, "JavaScript: First Steps to Functional JS" course is here: https://lnkd.in/gSqkvASp
To view or add a comment, sign in
-
I've long been a GUI guy for using Git (🔗 (https://lnkd.in/geBUtgEW)). It just makes sense to me to clearly visually see an manipulate the files I'm staging and committing, seeing nice lists of current branches and PRs at a glance, and seeing the diffs and conflicts in a dedicated UI. But I get it, a lot of developers are just terminal people. They are very comfortable there and can do anything I can do (probably better). I just found out about Lazygit (https://lnkd.in/gaDrqGyZ), and am finding it a fascinating in-between of command-line Git and GUI Git. A TUI, if you will, a Terminal User Interface, which I'm just now understanding is a thing (https://lnkd.in/g2JKpJeT). Some people totally love it (https://lnkd.in/gQh-Xsb7), and I'm giving it a bit of a whirl for fun. Oh, and speaking of TUIs, if you were interesting in building one, the tools available at charm.sh (https://charm.sh/) are pretty mind-blowing.
Lazygit – Frontend Masters Boost
https://frontendmasters.com/blog
To view or add a comment, sign in
-
Mental modeling is an engineers' edge over AI...for now 🧠🤖 by Will Sentance Learn from Will Sentance's courses here: https://lnkd.in/gbV-aDa6 – his Hard Parts of JavaScript course was voted most loved on Frontend Masters!
To view or add a comment, sign in
-
YouTube Embeds are Bananas Heavy and it’s Fixable Which one makes more sense to use, big and slow or small and fast? Especially with the same appearance and functionality, the youtube-lite component is a no-brainer.
YouTube Embeds are Bananas Heavy and it’s Fixable – Frontend Masters Boost
https://frontendmasters.com/blog
To view or add a comment, sign in
-
Browser Support Tests in JavaScript for Modern Web Features Sometimes it's good to know when a browser feature is supported or not so you can do something. Perhaps load a polyfill or just choose a slightly different approach. This post looks at newish features in browsers and shows the test.
Browser Support Tests in JavaScript for Modern Web Features – Frontend Masters Boost
https://frontendmasters.com/blog
To view or add a comment, sign in