1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-10-20 19:16:43 +02:00

[HeiseBridge] Remove notice of embedded content

The content itself is included (if it's below `noscript iframe`). The
notice is unnecessary clutter that is also not displayed in the JS
variant of the Heise website.
This commit is contained in:
Mynacol
2025-10-07 09:49:00 +00:00
parent e9f6aef6f1
commit ca8a17c570

View File

@@ -178,7 +178,7 @@ class HeiseBridge extends FeedExpander
// remove unwanted stuff
foreach (
$article->find('figure.branding, figure.a-inline-image, a-ad, div.ho-text, a-img,
$article->find('figure.branding, figure.a-inline-image, a-ad, div.ho-text, a-img, .opt-in__title,
.a-toc__list, a-collapse, .opt-in__description, .opt-in__footnote, .opt-in__bg-image, .notice-banner__text, .notice-banner__link, .ad, .ad--inread') as $element
) {
$element->remove();