Невозможно предотвратить однобоковые сообщения x.com (и они сломаны)

  • Добавьте x.com и twitter.com в настройку сайта blocked_onebox_domains
  • Создайте новый пост
  • Вставьте ссылку на x.com на отдельной строке
  • Обратите внимание, что вы получаете (сломанный) onebox

Сломанность onebox не зависит от значения настройки сайта blocked_onebox_domains. Они всегда сломаны.
Сгенерированный HTML: обратите внимание, что практически всё пустое.

<aside class="onebox twitterstatus" data-onebox-src="https://x.com/The_Kremlinn/status/2028700091154940405">
  <header class="source"><svg class="fa d-icon d-icon-fab-twitter svg-icon fa-width-auto svg-string" width="1em" height="1em" aria-hidden="true" xmlns="http://www.w3.org/2000/svg"><use href="#fab-twitter"></use></svg>

      <a href="https://x.com/The_Kremlinn/status/2028700091154940405" target="_blank" rel="noopener">x.com</a>
  </header>

  <article class="onebox-body">
    
<h4><a href="https://x.com/The_Kremlinn/status/2028700091154940405" target="_blank" rel="noopener"></a></h4>
<div class="twitter-screen-name"><a href="https://x.com/The_Kremlinn/status/2028700091154940405" target="_blank" rel="noopener">@</a></div>

<div class="tweet">
  <span class="tweet-description"></span>
</div>

<div class="date">
  <a href="https://x.com/The_Kremlinn/status/2028700091154940405" class="timestamp" target="_blank" rel="noopener"></a>


</div>

  </article>

  <div class="onebox-metadata">
    
    
  </div>

  <div style="clear: both"></div>
</aside>
5 лайков

Будет исправлено в

4 лайка