您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Fix gitignore.io not working with ADBlock enabled
- // ==UserScript==
- // @name Emulate Google Analytics on gitignore.io
- // @namespace https://rabit.pw/
- // @version 0.1
- // @description Fix gitignore.io not working with ADBlock enabled
- // @author ttimasdf
- // @license GPLv3
- // @match https://www.toptal.com/*
- // @match https://gitignore.io/*
- // @icon https://icons.duckduckgo.com/ip2/toptal.com.ico
- // @grant unsafeWindow
- // ==/UserScript==
- (function() {
- 'use strict';
- unsafeWindow.gtag = (event, ...args) => {
- var cb = args[1].event_callback;
- if (typeof cb === "function") {
- cb();
- }
- console.log(event, ...args);
- };
- })();