From 43be9f2c2216ec38d1d7e642c627da20d7fc4497 Mon Sep 17 00:00:00 2001 From: gorhill Date: Fri, 30 Oct 2015 13:04:01 -0400 Subject: [PATCH] set an id for html tag of epicker this enables FF users to override epicker style properties --- src/js/scriptlets/element-picker.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/js/scriptlets/element-picker.js b/src/js/scriptlets/element-picker.js index afea44382..df245195f 100644 --- a/src/js/scriptlets/element-picker.js +++ b/src/js/scriptlets/element-picker.js @@ -880,6 +880,10 @@ var startPicker = function(details) { 'text/html' ); + // Provide an id users can use as anchor to personalize uBO's element + // picker style properties. + parsedDom.documentElement.id = 'ublock0-epicker'; + frameDoc.replaceChild( frameDoc.adoptNode(parsedDom.documentElement), frameDoc.documentElement