1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02:00

Update scriptlet-filtering.js (#3696)

This commit is contained in:
Hugo Xu 2018-04-09 15:49:35 -06:00 committed by Raymond Hill
parent 00cb02ec47
commit 60751044fe

View File

@ -65,6 +65,10 @@
content = patchScriptlet(content, args);
if ( !content ) { return; }
}
content =
'try {\n' +
content + '\n' +
'} catch ( e ) { }';
scriptletCache.add(raw, content);
}
toInject.set(raw, content);