Adblock Plus broken in Safari Technology Preview release 11
Posted: Wed Aug 24, 2016 10:55 pm
Adblock Plus broken in Safari Technology Preview release 11:
https://developer.apple.com/safari/download/
The reason is that AdBlockPlus calls Event.initEvent() with a single parameter instead of 3:
./ext/content.js: beforeLoadEvent.initEvent("beforeload");
./ext/content.js: evt.initEvent(eventName);
./include.youtube.js: beforeLoadEvent.initEvent("beforeload");
As per the latest DOM specification, all 3 parameters are mandatory:
https://dom.spec.whatwg.org/#event
https://developer.apple.com/safari/download/
The reason is that AdBlockPlus calls Event.initEvent() with a single parameter instead of 3:
./ext/content.js: beforeLoadEvent.initEvent("beforeload");
./ext/content.js: evt.initEvent(eventName);
./include.youtube.js: beforeLoadEvent.initEvent("beforeload");
As per the latest DOM specification, all 3 parameters are mandatory:
https://dom.spec.whatwg.org/#event