BlueWhiteElectron / No ads banner notification

// ==UserScript==
// @name         No ads banner notification
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  only for education purpose
// @author       BluewhiteElectron
// @license MIT
// @match        https://www.citationmachine.net/*
// @include      https://www.citationmachine.net/*
// @grant        GM_Log
// ==/UserScript==

(function() {
    'use strict';
    function update()
    {
        var target = document.querySelectorAll('[data-reactroot]')[0]
        if (target)
        {
            target.parentElement.removeChild(target)
        }
    }
    // Your code here...
     var timer;
    timer = setInterval(update, 1000);
})();