fr3fou / discord-mutual-friends

visualising discord mutual friends in 3d space
146 stars 5 forks source link

Retrieving data manually & file input option #14

Open couleurm opened 5 months ago

couleurm commented 5 months ago

Maybe the mutual data could be retrieved manually by injecting a few CSS tweaks in the web browser and gathering each friends' mutual friends with a css selector?

And that data could be built in a replica of whatever you're doing with the token and be manually stringified in the browser console, pasted in a file, and read in your program

How plausible is that to be possible?

fr3fou commented 5 months ago

using a CSS selector would be kind of limiting as you'd still have to manually click on every friend you have.

a JS snippet you paste in our developer console would work better (one that clicks on each friend and gathers the information that way) but at that point you can just make the requests from the browser to begin with. this, however, would still scare some people away as discord spams your console with a lot of warnings about NOT pasting random snippets in there :D

i was thinking of maybe having a chrome extension that does that instead though, this seems like a more "user-friendly" choice. although i'm not sure about distributing the extension, not sure if it can be published to the chrome store.