(function () {
var content = "🔍同类搜索计划,最后14h!\n\n 点击探索"; // 只保留a标签
var jsTextContent = document.getElementById("js_text_content");
var jsTextContentFake = document.getElementById("js_text_content_fake");
// console.log(content);
content = content.replace(/))|(\/a))).*?>/g, (s) => {
return s.html(true);
});
jsTextContent.innerHTML = window.__emojiFormat(content);
if (parseFloat(window.getComputedStyle(jsTextContent).height) > parseFloat(window.getComputedStyle(jsTextContentFake).height)) {
jsTextContent.parentNode.className += ' share_media_text_overflow';
}
})();
………………………………