Open stereobooster opened 6 years ago
Agree partially. Don't want to include 1 to 1000...n....000 (hundreds thousand millions) pages of pagination. So rel=nofollow and/or some attribute of anchor (for example: <a data-skip-snap={true}
) will be good options.
@stereobooster Looks like one line need to be changed
Array.from(document.querySelectorAll("a:not([data-skip-snap]):not([rel=nofollow])")).map(anchor => anchor.href)
Have sense to do PR?
I also thought about rel="noindex"
. I'm not sure if this a good idea or not, so if you will send PR it can stuck
Related https://github.com/stereobooster/react-snap/pull/42