We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1715fb commit a5ba668Copy full SHA for a5ba668
platform/chromium/vapi-usercss.pseudo.js
@@ -365,11 +365,11 @@ vAPI.DOMFilterer = class {
365
let attr = node.getAttribute('style');
366
if ( attr === null ) {
367
attr = '';
368
- } else if (
369
- attr.length !== 0 &&
370
- attr.charCodeAt(attr.length - 1) !== 0x3B /* ';' */
371
- ) {
372
- attr += ';';
+ } else if ( attr.length !== 0 ) {
+ if ( attr.endsWith('display:none!important;') ) { continue; }
+ if ( attr.charCodeAt(attr.length - 1) !== 0x3B /* ';' */ ) {
+ attr += ';';
+ }
373
}
374
node.setAttribute('style', attr + 'display:none!important;');
375
0 commit comments