deleted by creator
Not exactly what I described here, but if I go to Subscriptions and then quickly before it loads I go to the All feed, then I see this, which is the titles and bodies of posts from my Subscriptions feed with icons and upvotes from the All feed.
At this point I’m not sure if what I described in my first comment happens at all, or I misremembered this as being that. If it ever does, I’ll come back to you.
Happens to me on Jerboa. I go to my All feed and sometimes it shows titles from my subscriptions feed with images of the All feed.
Always leaves me confused for a second but now I quickly realize what’s going and refresh.
deleted by creator
deleted by creator
deleted by creator
deleted by creator
deleted by creator
deleted by creator
deleted by creator
lmk if you run into an issue
This kind of stuff is like an IRL puzzle game. I thought it would be a simple five minute adventure, but of course google has made sure it isn’t! I suppose for 3 stars I would have given it to you in a pdf format, but I fear the man who could do that in javascript.
I just spent a bit too much time making this (it was fun), so don’t even tell me if you’re not going to use it.
You can open up a desired book’s page, start this first script in the console, and then scroll through the book:
let imgs = new Set();
function cheese() {
for(let img of document.getElementsByTagName("img")) {
if(img.parentElement.parentElement.className == "pageImageDisplay") imgs.add(img.attributes["src"].value);
}
}
setInterval(cheese, 5);
And once you’re done you may run this script to download each image:
function toDataURL(url) {
return fetch(url).then((response) => {
return response.blob();
}).then(blob => {
return URL.createObjectURL(blob);
});
}
async function asd() {
for(let img of imgs) {
const a = document.createElement("a");
a.href = await toDataURL(img);
let name;
for(let thing of img.split("&")) {
if(thing.startsWith("pg=")) {
name = thing.split("=")[1];
console.log(name);
break;
}
}
a.download = name;
document.body.appendChild(a);
a.click();
document.body.removeChild(a);
}
}
asd();
Alternatively you may simply run something like this to get the links:
for(let img of imgs) {
console.log(img)
}
There’s stuff you can tweak of course if it don’t quite work for you. Worked fine on me tests.
If you notice a page missing, you should be able to just scroll back to it and then download again to get everything. The first script just keeps collecting pages till you refresh the site. Which also means you should refresh once you are done downloading, as it eats CPU for breakfast.
Oh and NEVER RUN ANY JAVASCRIPT CODE SOMEONE ON THE INTERNET TELLS YOU TO RUN
deleted by creator
deleted by creator