Skip to content

Commit

Permalink
fix: remove console
Browse files Browse the repository at this point in the history
  • Loading branch information
yujinpan committed Jan 31, 2023
1 parent 4e488df commit 09d15eb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/x-google-ads.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
`;
document.head.prepend(script);

// 2. remove exist ads first
// 2. remove exist ads
const style = document.createElement('style');
style.innerHTML = '* [data-ad-client] {display: none !important}';
document.head.append(style);
Expand All @@ -45,7 +45,6 @@
node.src.includes('ads')
) {
node.remove();
console.log(node);
}
});
}
Expand Down

0 comments on commit 09d15eb

Please sign in to comment.