open-company / open-company-web

OpenCompany Web Application - Carrot web UI
https://github.com/open-company
Other
61 stars 9 forks source link

Site does not load, probably due to tracking control (uBlock Origin, Privacy Possum, Decentraleyes, or Firefox tracking protection, or a combination) #1171

Closed mlncn closed 1 year ago

mlncn commented 3 years ago

The carrot logo/watermark appears briefly, and then the screen is white:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js. (Reason: CORS request did not succeed).

leading of course to a $/JQuery not defined error.

mlncn commented 3 years ago

OK can confirm that disabling Decentraleyes makes the site work, or at least the https://carrot.io/sign-up/profile page.

So seems likely that it's the fault of that plugin (like did it switch a local JQuery library to Google's?? That is rather the opposite of the reason for using it!), but perhaps it's something Open Company can work around or do something better so it's not confused with an external tracker.

And thanks for being LibreSaaS!

bago2k4 commented 3 years ago

Thanks @mlncn for reporting this issue. I installed Decentraleyes on Chrome 88.0.4324.96 on macOS Mojave 10.14.6 but I wasn't able to replicate your issue.

I started from the homepage, then Start free and signed up. I also used an incognito window with only that plugin enabled and the console closed (to avoid any cache manipulation) but no luck.

I think you are right about the plugin being the culprit, I have had similar issues with ad-blockers in the past. Probably there is more, can be another plugin (something like https-everywhere) that used together lead to this problem.

Do you have other plugins running? Or any custom configuration of the Decentraleyes?

Cheers