Closed aheld closed 1 month ago
@aheld May I ask which ad blocker are you using?
@hemarina Privacy Badger (privacybadger.org). On both Edge and Chrome on OSX.
It reports as follows:
Privacy Badger (privacybadger.org) is a browser extension that automatically learns to block invisible trackers. Privacy Badger is made by the Electronic Frontier Foundation, a nonprofit that fights for your rights online.
Privacy Badger blocked 2 potential trackers on azure.github.io:
js.monitor.azure.com wcpstatic.microsoft.com
Thank you!
Thanks @aheld for filling this issue. This change will be synced on regular release (tomorrow).
Describe the bug The generated website fails to load and render https://aka.ms/awesome-azd
To Reproduce go to https://aka.ms/awesome-azd using a browser with an ad blocker
Expected behavior the site should load and let me search for templates so that I can promote AZD for a new project.
Alternatively it can ask me to disable my ad blocker.
Screenshots
Additional context When an ad blocker is used, the 1DS tracking library can't load, and causes a javascript error
main.f5148fcd.js:2 ReferenceError: oneDS is not defined due to https://github.com/Azure/awesome-azd/blob/main/website/src/theme/Navbar/Layout/index.js#L109
note I'm opening a ticket mainly because I checked out the code to try to fix the javascript error before I realized I caused the error. It may help to have an issue logged for the next person to discover.