originally i was going to make my own version with the help of the repo but it's not like it's gonna be the end of the world (and also because the export process is basically different for every type of project on the site too) if all you wanna do is have copies of your stuff locally.... also this thing does utilize pop ups and exports the projects for you since some people may lose their work in the future I'd figured something like this will be a novelty to use for everyone
// script for exporting all your shit
if (!location.href.endsWith("projects")) { location.href = "/projects" }
else {
const projects = document.querySelectorAll(".ui-projects-table-project-name");
function loadProjects(index) {
let win = window.open(projects[index]);
win.addEventListener('DOMContentLoaded', () => {
let doc = win.document;
setTimeout(() => {
doc.querySelector(".project_share").click();
}, 3e2);
setTimeout(() => {
if (doc.querySelector("div#project-share > div > div > a") !== null) {
doc.querySelector("div#project-share > div > div > a").click();
}
}, 5e2);
setTimeout(() => {
doc.querySelector("div#project-share > div > div > div > button").click();
}, 1e3);
setTimeout(() => {
win.close();
index += 1;
if (index < projects.length) {
loadProjects(index);
}
}, 6e3)
})
}
loadProjects(0);
}