mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue