Update BraveScriptlets/fuck-twitter-promote-buttons.js
This commit is contained in:
parent
47bad52e81
commit
845fafe116
@ -1,7 +1,7 @@
|
|||||||
// Add this line to "Create Custom Filters" box:
|
// Add this line to "Create Custom Filters" box:
|
||||||
// x.com##+js(fuck-twitter-promote-buttons.js)
|
// x.com##+js(fuck-twitter-promote-buttons.js)
|
||||||
|
|
||||||
const callback = (mutationList, observer) -> {
|
const callback = (mutationList, observer) => {
|
||||||
const walker = document.createTreeWalker(
|
const walker = document.createTreeWalker(
|
||||||
document.documentElement,
|
document.documentElement,
|
||||||
NodeFilter.SHOW_TEXT, null, false);
|
NodeFilter.SHOW_TEXT, null, false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user