Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question - lazyload example #27

Open
dan-ding opened this issue Mar 5, 2019 · 0 comments
Open

question - lazyload example #27

dan-ding opened this issue Mar 5, 2019 · 0 comments

Comments

@dan-ding
Copy link

dan-ding commented Mar 5, 2019

is the lazy load example script: https://github.com/GoogleChromeLabs/puppeteer-examples/blob/master/lazyimages_without_scroll_events.js supposed provide an accurate "view" of what the googlebot (image or search) sees -- visually and dom-wise?

Many lazyloading scripts try to compensate by sniffing the UA (including the included example). However it's not clear if the result of the dom manipulation (say swapping data-src to src) is indeed what the google grabs.

I understand it's chrome, not the google - but do you have any insight or knowledge of how we should interpret the results to what the google sees? Or this just a test of the events and not indicative of the googles view?

It (purposefully?) does not set the UA to a googlebot, so I'm guessing there's an interpretation we should be taking away from it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant