7 ms·
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: - ifra
by cmkr 8mo ago
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!
- wink 8mo agoHey, unfortunately I don't have an url for you but a paste: https://topaz.github.io/paste/#XQAAAQB5AgAAAAAAAAAQaIsMhpPLjTd0tbs0wI25LVYzGH/odQ5c2ydIE+7OH8D6YJVNQj+MD4DSkJwzkEJqL/y16MJXj7sLNLGGHkNAQ9rXuYZ7Q1KOo0/nMwrJwyNuNVbFuU3ngQXM0VJ2bm1p/lZLSoCkQomYMtz34bDYIXj2X310Pk63f1rLVGYAFoIYyT9eN3EH+AYLINR48TntNJH4sDlNNo7MSqK9xNbACKmeWdRvrBld6CgSj3LUwthONmEq7jf8B/2Vq0jmitHlMyvkHWdprzIjGH4IJJJnlNPVzGN1QFewshfCXNlleYigLndXlKFKMExy5JGiqjHK8SWXsdUwmC/tFz9ApGeJiNcpe30x0QFGI86jqHEYzIE/KcmWdbS8snybKEMbJkEG9+dUspecRMQ+TxO86V7e0lAhd9tKm0FKWoKWjFSp1QdW4iKoBXLWuRIJgIHtuwEDCi15CVEQfzswJjke1nbTvA/IZj5PSiU1XlAPUFjI6VlX9z3WbHzl3oBS3SEsg8A9V11oUl8xleWvK2R9QHRE2u0/jUUtsxrzdQhZH6Z3H/+Yu//A https://topaz.github.io/paste/#XQAAAQB5AgAAAAAAAAAQaIsMhpPLj...