Im trying to make a script, just like @Landviz . But for that i need to know the max comments on a single page at a thread until it reaches a new page. if you dont understand me pm me Xd.
var messages = $(".message"); // All messages get put into an array
// No jQuery: document.querySelectorAll(".message");
messages.splice(-1); // Remove the "Post reply" from the array
messages.length; // Returns the length, 20 is max
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.