Closed realityfabric closed 2 years ago
I started looking into it this morning, and I found the selector for blocked blogs to be
jQuery('#blocked_blogs > div.accordion_content.show > ul > li:nth-child(1) > div.blog-info > a.name')[0].innerText
where li:nt-child(1)
can be incremented for each (1 being the most recently blocked, incrementing towards the least recently blocked).
I'll need to fiddle with it, but I think it should be pretty easy to collect an entire blocklist and export it to a format that can simply be pasted back into the app.
I'll be able to reuse the openBlockList() function to expand the list (which will be necessary to grab all of the names from the list).
Commit 8255b4e3422ab1e2ba5ceb368620b521a3183d61 makes it so that you can export the blocklist. I don't know if it will be possible to automatically synchronize blocklists across blogs, but this gets us a few steps closer.
Suggested by Pugugly001 on the app's Chrome Store support page: