A rough Mastodon follower origin analysis script.
- Zoom out Mastodon all the way so all following are on screen.
- Copy and paste
follow_analysis.js
's contents into the JS console. - Set your mode. If you want to analyze followers, set
mode
to2
, and1
if you want to analyze following. - Select the appropiate tab (follower/following) in Mastodon.
- Run it by pressing
Enter
. - All data will be printed to console.
- https://stackoverflow.com/questions/14379274/how-to-iterate-over-a-javascript-object
- https://stackoverflow.com/questions/19395257/how-to-count-duplicate-value-in-an-array-in-javascript#19395302
- https://stackoverflow.com/questions/432493/how-do-you-access-the-matched-groups-in-a-javascript-regular-expression#432503
MIT.