* Test the scripts by adding fake ids
* Test Propensity errors
* Don't send Sentry event if `isPropensityNetworkError`
* Revert "Test Propensity errors"
This reverts commit 7052ca20d0bee3bb32b39fb90c473458a4375d7b.
* Revert "Test the scripts by adding fake ids"
This reverts commit 2ac797aadf24359917a10119155c5e41935a7482.
GitOrigin-RevId: 03c1e63e359d41ad83ce1ae5cc1063f1c59d0b4e
* Add `no-restricted-globals` eslint rule
Co-authored-by: Rebeka <rebeka.dekany@overleaf.com>
* Change `self` to `window.self`
* Change `innerWidth` to `window.innerWidth`
* Change `confirm` to `window.confirm`
* Change `location` to `window.location`
* Use `location` from `useLocation` hook
* Use location from useLocation hook
Co-authored-by: Antoine <antoine.clausse@overleaf.com>
* Disable no-restricted-globals eslint rule for use of 'self'
* Use `confusing-browser-globals` from npm
* Prevent unexpected globals in workers, using `no-undef`
* Use `self` as a global in workers
* Use unexpected globals in workers, using `no-restricted-globals` in workers
---------
Co-authored-by: Rebeka <rebeka.dekany@overleaf.com>
Co-authored-by: Rebeka <o.dekany@gmail.com>
GitOrigin-RevId: 526986799f5f2edf53c7d978fa85c1e98189565f