mastodon.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
The original server operated by the Mastodon gGmbH non-profit

Administered by:

Server stats:

341K
active users

#js

10 posts10 participants0 posts today
Habr<p>React 19: что нового, что полезного, и куда мы движемся</p><p>С вами Дима, старший фронтенд разработчик в Surf, и сегодня мы разберём React 19 — новую версию одной из самых популярных библиотек для создания пользовательских интерфейсов. Вперёд, к подробному разбору основных фичей, оценке их плюсов и минусов и исследованию будущего React. Читать дальше</p><p><a href="https://habr.com/ru/companies/surfstudio/articles/897200/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">habr.com/ru/companies/surfstud</span><span class="invisible">io/articles/897200/</span></a></p><p><a href="https://zhub.link/tags/React" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>React</span></a> <a href="https://zhub.link/tags/reactjs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>reactjs</span></a> <a href="https://zhub.link/tags/javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javascript</span></a> <a href="https://zhub.link/tags/Js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Js</span></a> <a href="https://zhub.link/tags/web%D1%80%D0%B0%D0%B7%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D0%BA%D0%B0" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webразработка</span></a></p>
James Basoo<p>TIL the innerText property represents the *rendered* text, not the actual text in the DOM - for that you need textContent. So if you&#39;ve uppercased your content with <a href="https://mastodon.social/tags/CSS" class="mention hashtag" rel="tag">#<span>CSS</span></a> it will also be uppercase.</p><p>I just spent way too long debugging why the <a href="https://mastodon.social/tags/Shopify" class="mention hashtag" rel="tag">#<span>Shopify</span></a> predictive search breaks if I update the styling of the search button!</p><p><a href="https://mastodon.social/tags/JS" class="mention hashtag" rel="tag">#<span>JS</span></a></p>
Wolfram wants peace<p>Compare your <a href="https://mastodontech.de/tags/webapps" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webapps</span></a> and see how much memory and CPU they are using.<br>Oh wonder <a href="https://mastodontech.de/tags/SPAs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SPAs</span></a> are more prone to memory eating, by nature, there is more dynamic page content, more <a href="https://mastodontech.de/tags/JS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JS</span></a>. Already the base memory footprint is double that one of an MPA. <br>Just check out the your browser's task manager. <a href="https://mastodontech.de/tags/devtools" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>devtools</span></a> <br>And in doubt <a href="https://mastodontech.de/tags/usetheplatform" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>usetheplatform</span></a>, or in other words: HTML and CSS are powerful tools and solve more problems than some may think. Try to think simple(r).</p>
niu tech<p><a href="https://fosstodon.org/tags/Nue" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Nue</span></a> 1.0 (<a href="https://nuejs.org" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">nuejs.org</span><span class="invisible"></span></a>) is a <a href="https://fosstodon.org/tags/JS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JS</span></a> framework by Tero Piirainen - the original author of <a href="https://fosstodon.org/tags/Riot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Riot</span></a>.js - which claims to be even more lightweight than a <a href="https://fosstodon.org/tags/React" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>React</span></a> button (<a href="https://nuejs.org/docs/react-button-vs-nue.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">nuejs.org/docs/react-button-vs</span><span class="invisible">-nue.html</span></a>). For more info read their blog: <a href="https://nuejs.org/blog/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">nuejs.org/blog/</span><span class="invisible"></span></a></p><p>CC: <span class="h-card" translate="no"><a href="https://toot.cafe/@slightlyoff" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>slightlyoff</span></a></span></p>
marmelab<p>Have you ever struggled with handling dates in <a href="https://mastodon.social/tags/JS" class="mention hashtag" rel="tag">#<span>JS</span></a>? We&#39;ve got you! 😉</p><p>Introducing get-current-day: the ultimate npm package that does exactly what it says: return today&#39;s date.</p><p>This npm package finally solves all your date problems with one simple trick. <a href="https://mastodon.social/tags/AprilFools" class="mention hashtag" rel="tag">#<span>AprilFools</span></a></p><p>🔗 <a href="https://marmelab.com/blog/2025/04/01/get-current-day.html" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">marmelab.com/blog/2025/04/01/g</span><span class="invisible">et-current-day.html</span></a></p>
Schalk Neethling<p>A Little Loopy - Arrays, Loops, forEach, some, for...of, for - FrontEnd Engineering Explained <a href="https://hachyderm.io/tags/js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>js</span></a></p><p><a href="https://www.youtube.com/watch?v=3gGthefMC58" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">youtube.com/watch?v=3gGthefMC5</span><span class="invisible">8</span></a></p>
FirefoxDevTools<p>Firefox 137 is around the corner and I realized I didn&#39;t wrote DevTools release post since the beginning of the year 🫣<br />Let&#39;s start with updates in version 134, which brought a few fixes and some nice accessibility improvements: <a href="https://fxdx.dev/firefox-devtools-newsletter-134/" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">fxdx.dev/firefox-devtools-news</span><span class="invisible">letter-134/</span></a></p><p><a href="https://mastodon.social/tags/firefox" class="mention hashtag" rel="tag">#<span>firefox</span></a> <a href="https://mastodon.social/tags/devtools" class="mention hashtag" rel="tag">#<span>devtools</span></a> <a href="https://mastodon.social/tags/js" class="mention hashtag" rel="tag">#<span>js</span></a> <a href="https://mastodon.social/tags/a11y" class="mention hashtag" rel="tag">#<span>a11y</span></a></p>
Jonathan Matthews<p>Folks who <a href="https://fosstodon.org/tags/website" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>website</span></a>: I'm trying to create a slice'n'dice-able <a href="https://fosstodon.org/tags/data" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>data</span></a> <a href="https://fosstodon.org/tags/table" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>table</span></a> -- somewhat like <a href="https://instances.vantage.sh/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">instances.vantage.sh/</span><span class="invisible"></span></a> with the per-column client-side search/constraint/etc. FWIW my data's a discrete JSON file.</p><p>I'm allergic to JavaScript insofar as I have zero idea what I'm doing with it (and *can't* do anything with it, myself) but will happily copy'n'paste it as needed.</p><p>Got any pointers? <a href="https://fosstodon.org/tags/websites" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>websites</span></a> <a href="https://fosstodon.org/tags/HTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTML</span></a> <a href="https://fosstodon.org/tags/datadriven" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>datadriven</span></a> <a href="https://fosstodon.org/tags/javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javascript</span></a> <a href="https://fosstodon.org/tags/js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>js</span></a> <a href="https://fosstodon.org/tags/webdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webdev</span></a> <a href="https://fosstodon.org/tags/WebDesign" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDesign</span></a> <a href="https://fosstodon.org/tags/WebDevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDevelopment</span></a> <a href="https://fosstodon.org/tags/dataviz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dataviz</span></a></p>
.:\dGh/:.<p>I’m probably one of the few that advocates for 100% Code Coverage. </p><p>There may be some justifiable exceptions, but overall it’s just a good practice to avoid something that doesn’t work as expected.</p><p><a href="https://mastodon.social/tags/Programming" class="mention hashtag" rel="tag">#<span>Programming</span></a> <a href="https://mastodon.social/tags/Coding" class="mention hashtag" rel="tag">#<span>Coding</span></a> <a href="https://mastodon.social/tags/SoftwareDevelopment" class="mention hashtag" rel="tag">#<span>SoftwareDevelopment</span></a> <a href="https://mastodon.social/tags/AppDevelopment" class="mention hashtag" rel="tag">#<span>AppDevelopment</span></a> <a href="https://mastodon.social/tags/AIDevelopment" class="mention hashtag" rel="tag">#<span>AIDevelopment</span></a> <a href="https://mastodon.social/tags/AIProgramming" class="mention hashtag" rel="tag">#<span>AIProgramming</span></a> <a href="https://mastodon.social/tags/AI" class="mention hashtag" rel="tag">#<span>AI</span></a> <a href="https://mastodon.social/tags/WebDevelopment" class="mention hashtag" rel="tag">#<span>WebDevelopment</span></a> <a href="https://mastodon.social/tags/WebDev" class="mention hashtag" rel="tag">#<span>WebDev</span></a> <a href="https://mastodon.social/tags/Code" class="mention hashtag" rel="tag">#<span>Code</span></a> <a href="https://mastodon.social/tags/C" class="mention hashtag" rel="tag">#<span>C</span></a> <a href="https://mastodon.social/tags/JavaScript" class="mention hashtag" rel="tag">#<span>JavaScript</span></a> <a href="https://mastodon.social/tags/JS" class="mention hashtag" rel="tag">#<span>JS</span></a> <a href="https://mastodon.social/tags/PHP" class="mention hashtag" rel="tag">#<span>PHP</span></a> <a href="https://mastodon.social/tags/Rust" class="mention hashtag" rel="tag">#<span>Rust</span></a> <a href="https://mastodon.social/tags/Go" class="mention hashtag" rel="tag">#<span>Go</span></a> <a href="https://mastodon.social/tags/Golang" class="mention hashtag" rel="tag">#<span>Golang</span></a> <a href="https://mastodon.social/tags/CPlusPlus" class="mention hashtag" rel="tag">#<span>CPlusPlus</span></a> <a href="https://mastodon.social/tags/Swift" class="mention hashtag" rel="tag">#<span>Swift</span></a></p>
Habr<p>CodeCraft Academy: Как я создаю открытую платформу для обучения программированию</p><p>Привет, Хабр! Я yukk1ro , и сегодня хочу рассказать о своем проекте, который призван сделать обучение программированию более доступным и эффективным.</p><p><a href="https://habr.com/ru/articles/895802/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">habr.com/ru/articles/895802/</span><span class="invisible"></span></a></p><p><a href="https://zhub.link/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://zhub.link/tags/education" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>education</span></a> <a href="https://zhub.link/tags/opensourse" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>opensourse</span></a> <a href="https://zhub.link/tags/learning" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>learning</span></a> <a href="https://zhub.link/tags/codecraft" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codecraft</span></a> <a href="https://zhub.link/tags/academy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>academy</span></a> <a href="https://zhub.link/tags/git" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>git</span></a> <a href="https://zhub.link/tags/github" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>github</span></a> <a href="https://zhub.link/tags/js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>js</span></a> <a href="https://zhub.link/tags/webdevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webdevelopment</span></a></p>
Christian Alder<p>Parallax layers 😊 </p><p>A subtle shift across 13 layers kept within a frame on the page. 🦖 </p><p>CodePen: <a href="https://codepen.io/HejChristian/full/ZYEqoXd" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">codepen.io/HejChristian/full/Z</span><span class="invisible">YEqoXd</span></a></p><p><a href="https://mastodon.social/tags/CSS" class="mention hashtag" rel="tag">#<span>CSS</span></a> <a href="https://mastodon.social/tags/JS" class="mention hashtag" rel="tag">#<span>JS</span></a> <a href="https://mastodon.social/tags/HTML" class="mention hashtag" rel="tag">#<span>HTML</span></a></p>
Ana Tudor 🐯<p>Flip card on hover, flip back on hover out...</p><p>... but on touchscreens, flip it on click and then flip it back on second click!</p><p>A mostly <a href="https://mastodon.social/tags/CSS" class="mention hashtag" rel="tag">#<span>CSS</span></a> solution, using <a href="https://mastodon.social/tags/3D" class="mention hashtag" rel="tag">#<span>3D</span></a> transforms, variables, grid, pointer MQ + a little bit of <a href="https://mastodon.social/tags/JS" class="mention hashtag" rel="tag">#<span>JS</span></a>.</p><p>Because somebody asked how to do it <a href="https://www.reddit.com/r/css/comments/1jm0a7v/comment/mk7zmd5/" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://www.</span><span class="ellipsis">reddit.com/r/css/comments/1jm0</span><span class="invisible">a7v/comment/mk7zmd5/</span></a></p><p>Live demo on <span class="h-card" translate="no"><a href="https://fosstodon.org/@codepen" class="u-url mention">@<span>codepen</span></a></span>: <a href="https://codepen.io/thebabydino/pen/MYWPeer" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">codepen.io/thebabydino/pen/MYW</span><span class="invisible">Peer</span></a> </p><p><a href="https://mastodon.social/tags/cssGrid" class="mention hashtag" rel="tag">#<span>cssGrid</span></a> <a href="https://mastodon.social/tags/cssVariables" class="mention hashtag" rel="tag">#<span>cssVariables</span></a> <a href="https://mastodon.social/tags/JavaScript" class="mention hashtag" rel="tag">#<span>JavaScript</span></a> <a href="https://mastodon.social/tags/css3D" class="mention hashtag" rel="tag">#<span>css3D</span></a> <a href="https://mastodon.social/tags/code" class="mention hashtag" rel="tag">#<span>code</span></a> <a href="https://mastodon.social/tags/coding" class="mention hashtag" rel="tag">#<span>coding</span></a> <a href="https://mastodon.social/tags/frontend" class="mention hashtag" rel="tag">#<span>frontend</span></a> <a href="https://mastodon.social/tags/cssLayout" class="mention hashtag" rel="tag">#<span>cssLayout</span></a> <a href="https://mastodon.social/tags/web" class="mention hashtag" rel="tag">#<span>web</span></a> <a href="https://mastodon.social/tags/dev" class="mention hashtag" rel="tag">#<span>dev</span></a> <a href="https://mastodon.social/tags/webDevelopment" class="mention hashtag" rel="tag">#<span>webDevelopment</span></a> <a href="https://mastodon.social/tags/webDev" class="mention hashtag" rel="tag">#<span>webDev</span></a></p>
Wolfram wants peace<p>"SPA Feel – Pattern #1 – Restore Scroll Position"</p><p>Combine the inherent simplicity and performance of MPAs with the smooth user experience of SPAs, making SPAs often outdated.</p><p><a href="https://picostitch.com/blog/2025/03/spa-feel1-restore-scroll/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">picostitch.com/blog/2025/03/sp</span><span class="invisible">a-feel1-restore-scroll/</span></a></p><p>Initially written about at <a href="https://mastodontech.de/@wolframkriesing/113147202566737199" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">mastodontech.de/@wolframkriesi</span><span class="invisible">ng/113147202566737199</span></a></p><p><a href="https://mastodontech.de/tags/usetheplatform" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>usetheplatform</span></a> <a href="https://mastodontech.de/tags/web" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>web</span></a> <a href="https://mastodontech.de/tags/JS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JS</span></a></p>
Strephil<p>Я поправил, всё заработало! <a class="hashtag" href="https://juick.com/tag/web" rel="nofollow noopener" target="_blank">#web</a> <a class="hashtag" href="https://juick.com/tag/%D0%B8%D0%BD%D1%82%D0%B5%D1%80%D0%BD%D0%B5%D1%82%D1%8B" rel="nofollow noopener" target="_blank">#интернеты</a> <a class="hashtag" href="https://juick.com/tag/JS" rel="nofollow noopener" target="_blank">#JS</a></p>
tlohde<p>make up your mind: is longitude `lon` or `lng`?</p><p><a href="https://fediscience.org/tags/gis" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gis</span></a> <a href="https://fediscience.org/tags/mapping" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mapping</span></a> <a href="https://fediscience.org/tags/coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>coding</span></a> <a href="https://fediscience.org/tags/js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>js</span></a> <a href="https://fediscience.org/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a></p>
Strephil<p>В интернетах есть сайт, не мой. На нём есть javascript. Он больше не работает, там что-то надо поправить.<br> Я сохранил страничку html локально, на ней есть нужный мне &lt;script&gt;. Я могу его менять в vim и смортреть, что меняется в firefox. Хорошо.<br> <br> Но! В запросах к сторонним сервисам в http-заголовках Origin и Refer пустые, как-то в Firefox можно их подменить, чтобы сторонний сервис думал, что я захожу с сайта, а не локальную страничку пердолю? <a class="hashtag" href="https://juick.com/tag/web" rel="nofollow noopener" target="_blank">#web</a> <a class="hashtag" href="https://juick.com/tag/%D0%B8%D0%BD%D1%82%D0%B5%D1%80%D0%BD%D0%B5%D1%82%D1%8B" rel="nofollow noopener" target="_blank">#интернеты</a> <a class="hashtag" href="https://juick.com/tag/JS" rel="nofollow noopener" target="_blank">#JS</a> <a class="hashtag" href="https://juick.com/tag/Firefox" rel="nofollow noopener" target="_blank">#Firefox</a></p>
//devdigest<p>⚡️ JavaScript Promises Explained</p><p>🏷️ <a href="https://mastodon.social/tags/devdigest" class="mention hashtag" rel="tag">#<span>devdigest</span></a> <a href="https://mastodon.social/tags/dotnet" class="mention hashtag" rel="tag">#<span>dotnet</span></a> <a href="https://mastodon.social/tags/net" class="mention hashtag" rel="tag">#<span>net</span></a> <a href="https://mastodon.social/tags/javascript" class="mention hashtag" rel="tag">#<span>javascript</span></a> <a href="https://mastodon.social/tags/js" class="mention hashtag" rel="tag">#<span>js</span></a></p><p><a href="https://devdigest.today/goto/3764" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">devdigest.today/goto/3764</span><span class="invisible"></span></a></p>
sekurak News<p>Kiedy podatność przypomina backdoora – Next.js CVE-2025-29927 i obejście logiki middleware</p><p>Krytyczna podatność (CVSS3.1 na poziomie 9.1) we frameworku JS ściąganym niemal 10 milionów razy w tygodniu, która pozwala na obejście uwierzytelniania? Brzmi jak idealna piątkowa publikacja. Tak też się stało 21.03.2025, kiedy światło dzienne ujrzała podatność zgłoszona niemal miesiąc wcześniej przez dwóch badaczy – @zhero___ oraz @inzo___. Przyjrzeli się oni...</p><p><a href="https://mastodon.com.pl/tags/WBiegu" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WBiegu</span></a> <a href="https://mastodon.com.pl/tags/Exploit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Exploit</span></a> <a href="https://mastodon.com.pl/tags/Js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Js</span></a> <a href="https://mastodon.com.pl/tags/Middleware" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Middleware</span></a> <a href="https://mastodon.com.pl/tags/Podatno%C5%9B%C4%87" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Podatność</span></a> <a href="https://mastodon.com.pl/tags/Websec" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Websec</span></a></p><p><a href="https://sekurak.pl/kiedy-podatnosc-przypomina-backdoora-next-js-cve-2025-29927-i-obejscie-logiki-middleware/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">sekurak.pl/kiedy-podatnosc-prz</span><span class="invisible">ypomina-backdoora-next-js-cve-2025-29927-i-obejscie-logiki-middleware/</span></a></p>
𝙹𝚘𝚑𝚊𝚗<p><span class="h-card" translate="no"><a href="https://mastodon.ml/@13i" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>13i</span></a></span> ...Для AdBlock / uBlock советуют такое:</p><pre><code>mail.yandex.ru###js-apps-container &gt; div &gt; div.mail-App-Content.js-mail-app-content &gt; div &gt; div.mail-Layout-Container &gt; div.mail-Layout-Inner &gt; div.mail-Layout-Main.js-mail-layout-content &gt; div.mail-Layout-ContentWrapper &gt; main &gt; div:nth-child(2) &gt; div &gt; div &gt; div &gt; div &gt; div<br>mail.yandex.ru###js-apps-container &gt; div &gt; div.mail-App-Content.js-mail-app-content &gt; div &gt; div.mail-Layout-Container &gt; div.mail-Layout-Inner &gt; nav &gt; div.mail-Layout-Aside-Inner.js-scroller-left &gt; div &gt; div:nth-child(2)<br>yandex.ru##main.main.serp.i-bem &gt; div.Root.Root_inited &gt; div &gt; div<br></code></pre>
Vlad Merk ☭ ✅<p>Как убрать рекламу в Я.Почте: отключить эти 2 элемента через одно из дополнений:<br><a href="https://mastodon.ml/tags/js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>js</span></a>-mail-layout-content-header &gt; .message-list-banner-portal + div</p><p><a href="https://mastodon.ml/tags/js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>js</span></a>-mail-layout div &gt; <a href="https://mastodon.ml/tags/js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>js</span></a>-layout-inner + div</p>