Skip to content

Commit

Permalink
feat: add Google Ads remove scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
yujinpan committed Jan 30, 2023
1 parent c238d38 commit 0d8c5fd
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions scripts/x-google-ads.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// ==UserScript==
// @name 屏蔽谷歌广告(remove Google Ads)
// @namespace https://github.com/yujinpan/tampermonkey-extension
// @version 1.0
// @license MIT
// @description 屏蔽烦人的谷歌广告(remove Google Ads)。
// @author yujinpan
// @include http*://**
// @run-at document-start
// ==/UserScript==

(() => {
const style = document.createElement('style');
style.innerHTML = '* [data-adsbygoogle-status] {display: none !important}';
document.head.append(style);
})();

0 comments on commit 0d8c5fd

Please sign in to comment.