As described in my wish it is difficult to find specific information inside very long threads such as the thread about Firebase push notifications which is 18 pages long!
Now I have done something about it in the form of a little nice bookmarklet!
Simply create a bookmark on your bookmark bar with this content:
You can call it "B4X Load all pages" or whatever. Then, whenever you encounter a long thread, simply click on the bookmarklet to load all the pages from the current page and onward. Then you can use Ctrl-F to find whatever you are looking for.
Note: Normally, it is possible to create the bookmarklet directly in HTML so that you can simply drag it to the bookmark line. But that is not possible in this forum because it tries to make a normal http url out of it.
For your convenience, I have created the bookmarklet here: http://marlar.dk/b4x/bookmarklet.html
Simply drag the bookmarklet to your bookmark line and try it out on for example the push notification thread.
This is the same code non-minified:
Tested in Chrome and Firefox.
Now I have done something about it in the form of a little nice bookmarklet!
Simply create a bookmark on your bookmark bar with this content:
JavaScript:
javascript:var url = location.href.replace(/page-\d+.*/,""); var className = ".b-body.js-replyNewMessageContainer:first"; var numPages = +$("li.pageNav-page:last").text()||1; var currentPage = +$(".pageNav-page--current:first").text()||1; (async function () { if(currentPage==numPages) return; for(i=currentPage+1; i<=numPages; i++) { if(i==currentPage+1) $("div.p-body-inner").prepend(`<h1 id="pageloader" style="text-align: center;background: #edf6fd;color: #2577b1;padding: 40px 0;border: 2px solid #d0e5f3;position: fixed;width: 30%;z-index: 9999;top: 40%;left: 35%;">Loading page ${i}</h1>`); else $("#pageloader").text(`Loading page ${i}`); let resp = await fetch(`${url}page-${i}`); let html = await resp.text(); $(className).append($(html).find(className)); } $("#pageloader").text("All pages loaded!").fadeOut(2500); $(".pageNav-main:first .pageNav-page--current:first").nextAll(".pageNav-page").hide(); $(".pageNav-main:last .pageNav-page--current:first").nextAll(".pageNav-page").hide(); $(".pageNav-jump--next").hide(); })();
You can call it "B4X Load all pages" or whatever. Then, whenever you encounter a long thread, simply click on the bookmarklet to load all the pages from the current page and onward. Then you can use Ctrl-F to find whatever you are looking for.
Note: Normally, it is possible to create the bookmarklet directly in HTML so that you can simply drag it to the bookmark line. But that is not possible in this forum because it tries to make a normal http url out of it.
For your convenience, I have created the bookmarklet here: http://marlar.dk/b4x/bookmarklet.html
Simply drag the bookmarklet to your bookmark line and try it out on for example the push notification thread.
This is the same code non-minified:
Load all pages:
var url = location.href.replace(/page-\d+.*/,"");
var className = ".b-body.js-replyNewMessageContainer:first";
var numPages = +$("li.pageNav-page:last").text()||1;
var currentPage = +$(".pageNav-page--current:first").text()||1;
(async function () {
if(currentPage==numPages) return;
for(i=currentPage+1; i<=numPages; i++) {
if(i==currentPage+1)
$("div.p-body-inner").prepend(`<h1 id='pageloader' style='text-align: center;background: #edf6fd;color: #2577b1;padding: 40px 0;border: 2px solid #d0e5f3;position: fixed;width: 30%;z-index: 9999;top: 40%;left: 35%;'>Loading page ${i}</h1>`);
else
$("#pageloader").text(`Loading page ${i}`);
let resp = await fetch(`${url}page-${i}`);
let html = await resp.text();
$(className).append($(html).find(className));
}
$("#pageloader").text("All pages loaded!").fadeOut(2500);
$(".pageNav-main:first .pageNav-page--current:first").nextAll(".pageNav-page").hide();
$(".pageNav-main:last .pageNav-page--current:first").nextAll(".pageNav-page").hide();
$(".pageNav-jump--next").hide();
})();
Tested in Chrome and Firefox.