mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-02 00:42:45 +01:00
Remove all event handlers from no-large-media-elements content scripts
Related issue: - https://github.com/gorhill/uBlock/issues/1390
This commit is contained in:
parent
902fd51522
commit
37b195f61d
@ -215,6 +215,7 @@ document.addEventListener('error', onLoadError, true);
|
||||
/******************************************************************************/
|
||||
|
||||
vAPI.loadAllLargeMedia = function() {
|
||||
document.removeEventListener('click', onMouseClick, true);
|
||||
document.removeEventListener('load', onLoad, true);
|
||||
document.removeEventListener('error', onLoadError, true);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user