mirror of https://github.com/gorhill/uBlock.git
Use `#?#` form to make the test page compatible with other blockers
This commit is contained in:
parent
31e0ea1e83
commit
22284e5ff6
|
@ -210,7 +210,7 @@
|
||||||
const fragment = document.createDocumentFragment();
|
const fragment = document.createDocumentFragment();
|
||||||
for ( const node of document.querySelectorAll('code') ) {
|
for ( const node of document.querySelectorAll('code') ) {
|
||||||
const div = document.createElement('div');
|
const div = document.createElement('div');
|
||||||
div.textContent = `${hostname}##${node.textContent}`;
|
div.textContent = `${hostname}#?#${node.textContent}`;
|
||||||
fragment.appendChild(div);
|
fragment.appendChild(div);
|
||||||
}
|
}
|
||||||
const parent = document.querySelector('.filters');
|
const parent = document.querySelector('.filters');
|
||||||
|
|
Loading…
Reference in New Issue