1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-05 11:37:01 +02:00

Minor code review

This commit is contained in:
Raymond Hill 2024-02-13 17:52:05 -05:00
parent e2d40cc446
commit 68186a9242
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -27,8 +27,7 @@
activity: noopfn,
virtualPage: noopfn
};
const hider = document.querySelector('style[id^=chartbeat-flicker-control]');
if ( hider ) {
for ( const hider of document.querySelectorAll('style[id^=chartbeat-flicker-control]') ) {
hider.remove();
}
})();