mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-22 10:22:51 +01:00
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();
|
||||
for ( const node of document.querySelectorAll('code') ) {
|
||||
const div = document.createElement('div');
|
||||
div.textContent = `${hostname}##${node.textContent}`;
|
||||
div.textContent = `${hostname}#?#${node.textContent}`;
|
||||
fragment.appendChild(div);
|
||||
}
|
||||
const parent = document.querySelector('.filters');
|
||||
|
Loading…
Reference in New Issue
Block a user