Prerequisites
Description
uBlock does break the angular app, because of this injected script:
# uBlockOrigin/uAssets#88
golem.de.js application/javascript
(function() {
var rael = window.addEventListener;
window.addEventListener = function(a, b, c) {
rael(a, b, c);
if ( /^\sfunction\s()\s*{\swindow.clearTimeout(r)\s}\s*$/.test(b.toString()) ) {
b();
}
}.bind(window);
})();
A specific URL where the issue occurs
https://app.netplay-config.4players.de/
Steps to Reproduce
- Load URL with uBlock enabled
Expected behavior:
Only ads & tracking are blocked
Actual behavior:
Angular app crashes because of injected javascript producing an error in the overwritten function addEventListener :
TypeError: b is null dashboard:29:3
addEventListener (index):29
(index):978
supportsPassiveEventListeners Angular
Bootstrap Webpack
Your environment
- uBlock Origin version: uBlock Origin v1.18.4
- Browser Name and version: Firefox 65.0.1 (64-Bit)
- Operating System and version: Windows 10
Prerequisites
Description
uBlock does break the angular app, because of this injected script:
# uBlockOrigin/uAssets#88
golem.de.js application/javascript
(function() {
var rael = window.addEventListener;
window.addEventListener = function(a, b, c) {
rael(a, b, c);
if ( /^\sfunction\s()\s*{\swindow.clearTimeout(r)\s}\s*$/.test(b.toString()) ) {
b();
}
}.bind(window);
})();
A specific URL where the issue occurs
https://app.netplay-config.4players.de/
Steps to Reproduce
Expected behavior:
Only ads & tracking are blocked
Actual behavior:
Angular app crashes because of injected javascript producing an error in the overwritten function addEventListener :
TypeError: b is null dashboard:29:3
addEventListener (index):29
(index):978
supportsPassiveEventListeners Angular
Bootstrap Webpack
Your environment