Access to XMLHttpRequest at 'https://www.reddit.com/r/all/.json?limit=20' from origin 'https://rdx.overdevs.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Tested with both ungoogled-chromium and firefox without cookies
is ok to have workarounds, but i am pretty sure this can be implemented on the app side too. Thanks for the hint tho, at least if i need it i can use it
I've also made an application for something like this. The only way to change this on the app side is to route all Reddit calls through the app server itself instead of doing it on the browser, essentially making the app a complete proxy. The only thing it does is increase traffic requirements and require everyone to host their own instance.
An addon to disable CORS just for this site is really easy and imo the most sensible approach.
I would love to fix this, most people who have this issue are using enhanced privacy/tracking protection settings that block the reddit url or have VPN/proxies turned on. Unfortunately reddit blocks that traffic in the guise of preventing spam/scrapping.
Now I can put up a server and bypass the traffic through my VPS and make the reddit content available to rdx(which libreddit used to do before reddit tightened their API). But soon enough they will ban my server, I will have to buy another and this keeps going on and on. That will be too much effort for too little gain.
However if there are already some servers that make the reddit JSON available through some proxy, I am all for adding it to the app. However I couldn't find anything that will even last a week.
Ahh that makes perfect sense, completely understand. Maybe making and linking
a short guide at the bottom of the page would be helpful? Something to say "Not Seeing Anything?" And then it links to like a paragraph or two explaining why.
Just a thought for not so bright users like myself :s