STEAM-GRUPP
S.T Community s.tools
STEAM-GRUPP
S.T Community s.tools
921
SPELAR
3,473
ONLINE
Grundades
16 augusti 2015
Visar 1–2 av 2 poster
10
Steps forward from Mosaticon outage.
Ursprungligen skrivet av P:
Honestly, mosaticon is probably the easiest one to fix given that the majority of the code is on the frontend, and it's fairly opensource as it is since I don't minify the code, but you can also see it here:

https://github.com/SteamTools/steamtools.github.io/tree/master/mosaticon

All the backend does there is fetch your inventory. I think I can come up with a hacky solution here, which requires you to load your own inventory and paste it into a textbox. This will solve most issues with very large inventories too hopefully.

I made the change, can you test it and let me know how well it works?

https://steam.tools/mosaticon/

(may need to do a few full cacheless refresh to get the latest version)

Ahaha I like the way you think, you might wanna specify pasting the 'raw data' though. When you paste the link to the API in the browser it displays the JSON content first, might confuse some people when it doesn't work because they did ctrl+a on the JSON data and not the list output from the raw data tab. Works well though.

Edit: I was thinking too, is there any way you can get the user to make the request themselves on behalf of the website (not manually, part of the fetch emoticons function), that way the traffic won't be coming from your domain, but from the user's IP? Might be a workaround to the blocking of domains if it's possible at all; also saves the user like 10 seconds of extra effort pasting a url into a new tab and pasting the content back into the site.
Visar 1–2 av 2 poster