mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-10-22 20:16:08 +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:
@@ -178,7 +178,7 @@ class HeiseBridge extends FeedExpander
|
|||||||
|
|
||||||
// remove unwanted stuff
|
// remove unwanted stuff
|
||||||
foreach (
|
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
|
.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();
|
$element->remove();
|
||||||
|
Reference in New Issue
Block a user