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

Minor code review

This commit is contained in:
Raymond Hill 2024-02-13 16:41:45 -05:00
parent 397d6d47b9
commit d80a3e30f8
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

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