There are some web dev myths that just live on and on β one of them: you should set `rel=noopener` on `target=_blank` links to null `window.opener`.
Browsers have done this automatically for four years. π
This profile might be incomplete.
Open on front-end.social Stefan Judis
Wall 4 posts
Stefan Judis
There are some web dev myths that just live on and on β one of them: you should set `rel=noopener` on `target=_blank` links to null `window.opener`. Browsers have done this automatically for four years. π
Stefan Judis
Haha! Apparently, some people celebrate a new "web day" β JS Naked Day. It's 4/24 and this is heck smart. π π
Andreas Steinkellner
@stefan I think it's an awesome idea that urges people to think about creating awesome pages without heavily relying on JavaScript. If it's not an actual web app, JavaScript should only ever be progressive enhancement for an existing page.
Stefan Judis
CSS quick tip: if you're adding quotation characters use `open-quote` and `close-quote` as content because they consider the document language. πͺ https://www.stefanjudis.com/today-i-learned/how-to-use-language-dependent-quotes-in-css/
Show previous comments
chrysn
@stefan Some (waving at @jyasskin) disagree with the advice to use <q>. I'm leaning more towards "fix the browser", but be aware: https://hachyderm.io/@jyasskin/112130381502947889
Stefan Judis
New on the blog. π«£ I wanted to see how well oklch() treats hue changes in terms of lightnessπ https://www.stefanjudis.com/today-i-learned/oklch-perceived-lightness/ |
@stefan I guess they live on because of the commercial need to support impossibly old browser versions...
@stefan belt and suspenders ;)