mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
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
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue