maxpatiiuk / text-hoarder

A browser extension for Google Chrome. Provides reader view, saving articles (to GitHub repository), and generation of stats from your saved articles
https://chromewebstore.google.com/u/1/detail/bjknebjiadgjchmhppdfdiddfegmcaao
MIT License
0 stars 0 forks source link

SimpleDom: Custom elements not removed #15

Open maxpatiiuk opened 10 months ago

maxpatiiuk commented 10 months ago

URL: https://www.healthline.com/health/measles

Screenshot 2023-11-23 at 17 08 52

The page contains hl-trusted-source custom elements which do two things:

maxpatiiuk commented 9 months ago

This causes even greater issue on this page - https://www.msn.com/en-us/money/companies/warning-from-openai-leaders-helped-trigger-sam-altman-s-ouster The readable page contains only ads, no content. Would removing custom elements work? or just keep the inner-html of custom elements? and should this be done before or after conversion to simplified dom?