PageSourceSearch

https://www.akademiskahogtider.se/download/18.6d53d971199371e5c38150cf/1757995736828/hide-empty-paragraphs.js

js akademiskahogtider.se collected 2026-10-08 00:39:45 UTC 363 bytes, 13 lines download raw bytes

1/*
2 * Hide empty paragraphs in the main content area.
3 *
4 * Source: misc-js/hide-empty-paragraphs.js
5 */
6
7window.addEventListener('DOMContentLoaded', () => {
8  document.querySelectorAll('main p').forEach((paragraph) => {
9    if (['<br>', '<br class="SV_LINE_BREAK">', '', '&nbsp;'].includes(paragraph.innerHTML.trim())) {
10      paragraph.remove();
11    }
12  });
13});

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.