MEMORIAL DAY - JOIN BRAZZERS FOR FREE - CLICK HERE!
Question - How to extract the names of all of the threads I follow? | SimpCity Forums

Question How to extract the names of all of the threads I follow?

hs1

Bathwater Drinker
Jul 19, 2022
24
1,133
1,239
0fya082315al84db03fa9bf467e3.png
I follow 22 pages worth of threads, I'd like to be able to back them up offline.

How can I do so? Do I need to just highlight, copy and paste into Excel (for each of the 22 pages!!) - or is there a neat way I can extract all thread titles in one go?
 

Remac

Lurker
Jun 24, 2023
2
2
58
0fya082315al84db03fa9bf467e3.png
Hey harryshotta,

If you're familiar with running commands on the console you can run this:

var titleElements = document.querySelectorAll('.structItemContainer .structItem-title'); for (var i = 0; i < titleElements.length; i++) { var titleElement = titleElements[i]; var labels = titleElement.querySelectorAll('.labelLink'); labels.forEach(function(label) { label.remove(); }); var title = titleElement.innerText.trim(); console.log("Title:", title); }

This code will extract all the title for you on the "Watched" page (which is what I think you're looking for).
 
  • Like
Reactions: hs1