diff --git a/src/js/element-picker.js b/src/js/element-picker.js index a040ec8dd..940a5afe1 100644 --- a/src/js/element-picker.js +++ b/src/js/element-picker.js @@ -679,7 +679,6 @@ var startPicker = function(details) { var pickerStyle = document.createElement('style'); pickerStyle.setAttribute('scoped', ''); - pickerStyle.style.setProperty('display', 'none', 'important'); pickerStyle.textContent = [ '#µBlock, #µBlock * {', 'background: transparent;', @@ -710,6 +709,9 @@ var startPicker = function(details) { 'top: 0;', 'left: 0;', '}', + '#µBlock style, #µBlock script {', + 'display: none;', + '}', '#µBlock ul, #µBlock li, #µBlock div {', 'display: block;', '}',