mirror of https://github.com/gorhill/uBlock.git
set an id for html tag of epicker
this enables FF users to override epicker style properties
This commit is contained in:
parent
a11bc7f6ee
commit
43be9f2c22
|
@ -880,6 +880,10 @@ var startPicker = function(details) {
|
||||||
'text/html'
|
'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.replaceChild(
|
||||||
frameDoc.adoptNode(parsedDom.documentElement),
|
frameDoc.adoptNode(parsedDom.documentElement),
|
||||||
frameDoc.documentElement
|
frameDoc.documentElement
|
||||||
|
|
Loading…
Reference in New Issue