Change eBay Favicon

Changes the favicon for eBay website

// ==UserScript==
// @name         Change eBay Favicon
// @namespace    https://example.com/
// @version      1.0
// @description  Changes the favicon for eBay website
// @match        *://www.ebay.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    function changeFavicon() {
        var link = document.querySelector("link[rel*='icon']");
        if (!link) {
            link = document.createElement('link');
            link.rel = 'icon';
            document.getElementsByTagName('head')[0].appendChild(link);
        }
        link.href = 'https://googlewebhp.neocities.org/favicon-16x16.png';
    }

    changeFavicon();
})();