Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

platform.js causes page to be blocked by ad blockers #73

Open
davidwagner opened this issue Nov 9, 2020 · 1 comment
Open

platform.js causes page to be blocked by ad blockers #73

davidwagner opened this issue Nov 9, 2020 · 1 comment

Comments

@davidwagner
Copy link

Copying from Cal-CS-61A-Staff/examtool-web#14: https://exam.cs61.org/ loads https://apis.google.com/js/platform.js, which is blocked by some ad blockers, causing the page to not load. I had multiple students in Data 8 report this issue. It would be useful to load that script from elsewhere, so the page isn't blocked by ad blockers.

@chrononyan
Copy link
Member

I don't think this will be effective in the long run -- if filter lists decide to block this script (rightfully for social functionality), they may eventually block all re-hosted instances of the script as they are discovered. Most adblockers allow users to make exceptions for pages they trust, and circumventing this model doesn't seem ideal.

IMO the better way is to implement server-side Google OAuth2 login, which removes this dependency entirely, but is somewhat more headache to deal with (Google OAuth client rules...)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants