refactor(scripts): remove content attempts temporarily

This commit is contained in:
wanhose 2021-04-05 18:09:47 +02:00
parent 182884e47e
commit a6e9e0aad0

View File

@ -1,4 +1,3 @@
let attempts = 1;
let elements = [];
const fix = () => {
@ -46,13 +45,10 @@ const remove = () => {
};
const observer = new MutationObserver((_, instance) => {
if (attempts <= 5) {
attempts += 1;
instance.disconnect();
fix();
remove();
observe();
}
instance.disconnect();
fix();
remove();
observe();
});
(async () => {