diff --git a/src/js/scriptlets/element-picker.js b/src/js/scriptlets/element-picker.js index b4ee33467..914aa6131 100644 --- a/src/js/scriptlets/element-picker.js +++ b/src/js/scriptlets/element-picker.js @@ -1687,6 +1687,12 @@ const pickerCSSStyle = [ ].join(' !important;'); pickerRoot.style.cssText = pickerCSSStyle; +// https://github.com/uBlockOrigin/uBlock-issues/issues/393 +// This needs to be injected as an inline style, *never* as a user styles, +// hence why it's not added above as part of the pickerCSSStyle +// properties. +pickerRoot.style.setProperty('pointer-events', 'auto', 'important'); + const pickerCSS1 = [ `#${pickerRoot.id} {`, pickerCSSStyle,