1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-05 18:32:30 +01:00

set an id for html tag of epicker

this enables FF users to override epicker style properties
This commit is contained in:
gorhill 2015-10-30 13:04:01 -04:00
parent a11bc7f6ee
commit 43be9f2c22

View File

@ -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