mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
parent
2c4faaa84d
commit
1e760f9429
1 changed files with 3 additions and 7 deletions
|
|
@ -69,14 +69,10 @@ var onBlockElement = function(details, tab) {
|
|||
/******************************************************************************/
|
||||
|
||||
var onTemporarilyAllowLargeMediaElements = function(details, tab) {
|
||||
if ( tab === undefined ) {
|
||||
return;
|
||||
}
|
||||
if ( tab === undefined ) { return; }
|
||||
var pageStore = µb.pageStoreFromTabId(tab.id);
|
||||
if ( pageStore === null ) {
|
||||
return;
|
||||
}
|
||||
pageStore.temporarilyAllowLargeMediaElements();
|
||||
if ( pageStore === null ) { return; }
|
||||
pageStore.temporarilyAllowLargeMediaElements(true);
|
||||
};
|
||||
|
||||
/******************************************************************************/
|
||||
|
|
|
|||
Loading…
Reference in a new issue