1/** 2 * Foren SEO â schiebt den Einleitungstext unter die Forum-H1. 3 * 4 * AsgarosForum rendert den Text (via content_top/content_header) VOR der 5 * Hauptueberschrift. Fuer eine saubere Reihenfolge (H1 -> H2/H3) verschieben 6 * wir ihn direkt hinter die H1 (Klasse .main-title). 7 */ 8(function () { 9 'use strict'; 10 11 function move() { 12 var intro = document.querySelector('.asgfseo-intro-text'); 13 var title = document.querySelector('h1.main-title'); 14 if (!intro || !title || !title.parentNode) { 15 return; 16 } 17 // Nur verschieben, wenn der Text aktuell VOR der Ueberschrift steht. 18 if (title.compareDocumentPosition(intro) & Node.DOCUMENT_POSITION_PRECEDING) { 19 title.parentNode.insertBefore(intro, title.nextSibling); 20 } 21 } 22 23 if (document.readyState === 'loading') { 24 document.addEventListener('DOMContentLoaded', move); 25 } else { 26 move(); 27 } 28})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.