mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-06 19:02:30 +01:00
same with querySelector
This commit is contained in:
parent
c27b18d7d1
commit
ff0ad30ba6
@ -86,6 +86,10 @@ DOMListFactory.nodeFromId = function(id) {
|
||||
return document.getElementById(id);
|
||||
};
|
||||
|
||||
DOMListFactory.nodeFromSelector = function(selector) {
|
||||
return document.querySelector(selector);
|
||||
};
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
var addNodeToList = function(list, node) {
|
||||
|
Loading…
Reference in New Issue
Block a user