How to get Scratch project data without using CORS proxy?

Currently, if you want to access the statistics of a Scratch project using the URL block:
(url [https://scratch.mit.edu/projects/1110339801/])

It just... returns blank. I know that this is because of CORS, so to bypass this I need a CORS proxy. But those proxies can be easily abused and tend to be short-lived, so I do not want to use CORS proxy. Now how to make it work without a CORS proxy?

And I have a question. I know that websites must opt-in to CORS for fetching to work without using a CORS proxy, but can Snap! do this, or is outside of Snap!'s control?

untitled script pic (60)

I think you might want to read up on this

Oh, that works! I just didn't know that it works without CORS. :grin:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.