Same for me. Won’t use with a workaround, this should be fixed
dacookingsenpai@lemme.discus.sh 10 months ago
I am getting a blank page.
In the console:
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
darkstar@sh.itjust.works 10 months ago
overdevs@lemmy.world 10 months ago
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.
Azzu@lemm.ee 10 months ago
There’s an addon for Firefox to disable CORS for certain sites. Need to use that.
Starmina@lemm.ee 10 months ago
Same issue in safari iOS. I don’t want to use an extension for that.
dacookingsenpai@lemme.discus.sh 10 months ago
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
Azzu@lemm.ee 10 months ago
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.