mirror of https://github.com/gorhill/uBlock.git
this is a better solution for #400
This commit is contained in:
parent
922e638133
commit
a909cc48d4
|
@ -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;',
|
||||
'}',
|
||||
|
|
Loading…
Reference in New Issue