function popup_init() { $("code:not([class])").each(function () { if ($(this).attr("init") != "1") { if ($(this).text().length == 0) { return; } const noteText = $(this).html(); $(this).html(""); if ($(this).offset().left < $(document.body).width() / 2) { $(this).append('