var scripts = document.getElementsByTagName('script'); var script = scripts[scripts.length - 1]; var borq=''; borq += '<' + 'article style="margin: 15px auto; max-width: 560px;"><' + 'div style="background:#fff; border: 1px solid #e6e5e0; border-radius: 3px"><' + 'header style="display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: flex-startnpm; -ms-flex-align: flex-startnpm; align-items: flex-startnpm; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; font-size: 9px; font-weight: bold; line-height: 12px; color: #827e7c"><' + 'a style="margin: 0; padding: 15px 15px 12px; color: #859900; text-decoration: none" href="/quote/407690">#407690<' + '/a><' + 'span style="padding: 15px 15px 12px">18.08.2010<' + '/span><' + '/header><' + 'div style="margin: 0 1px; padding: 0 15px 18px; font-size: 14px; line-height: 21px; color: #21201e">пишет мама утром по аське.<' + 'br><' + 'br>marina: ночь была ужасной<' + 'br>marina: но проснулась не от дыма. а от звука регулярно падающих металлических стержней на асфальт<' + 'br>katerina: и что это было?<' + 'br>marina: это продавщица из ночного магаза крутила хулахуп<' + 'br>marina: я ее сегодня урою. суку<' + '/div><' + 'footer style="margin: 0; padding: 0 0 20px; height: 40px; line-height: 40px; font-size: 13px; text-align: center"><' + 'a href="http://bash.im/" target="_blank" title="bash.im откроется в новом окне" style="display: inline-block; padding: 10px 50px; font-size: 14px; line-height: 18px; text-align: center; color: #fff; background-color: #859900; border: none; border-radius: 3px; text-decoration: none; cursor: pointer;">Больше на bash.im!<' + '/a><' + '/footer><' + '/div><' + '/article>'; setTimeout(function() { script.outerHTML += borq; }, 500);