Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Hey wink ()

true. some socialmedia was too aggressive - should be resolved.

for yt: i tried to fix the lazy-loaded YouTube detection. Tool now catches: - iframes with data-src - web components: <lite-youtube>, <lite-youtube-embed>, <youtube-video>, <lite-vimeo>, <lite-vimeo-embed>, <vimeo-video>

One thing I stumbled over: if YT-URL only lives inside a JS variable and gets injected on click with no trace in the HTML. That's a static analysis limitation.

And: React facades that load a YouTube thumbnail → already detected. React facades that use a local/self-hosted placeholder image with only a video ID in a data attribute → not detected.

You mind sharing a URL so I can verify it works against your site?

Thanks for helping already!





Hey, unfortunately I don't have an url for you but a paste:

https://topaz.github.io/paste/#XQAAAQB5AgAAAAAAAAAQaIsMhpPLj...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: