Google Infinite Scroll

-

< Feedback on Google Infinite Scroll

Review: ठीक - स्क्रिप्ट चालते, पण त्यात बग आहेत

§
पोस्ट केले: 2025-03-04

In order to get this script to work on the News tab on Google, replace this in the fetchNextPage function:

const text = await (await fetch(`${baseUrl.origin}${baseUrl.pathname}?q=${baseUrl.searchParams.get('q')}&start=${pageNumber * 10}`)).text();

with this:

baseUrl.searchParams.set('start', pageNumber * 10);
const text = await (await fetch(baseUrl.toString())).text();

उत्तर पोस्ट करा

उत्तर पोस्ट करण्यासाठी साइन इन करा.