Add calendar add drive links

Add custom nodes to YouTube header

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Add calendar add drive links 
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Add custom nodes to YouTube header
// @author       Your Name
// @match        https://vanced-youtube.neocities.org/2011/
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // Create the first node
    var driveNode = document.createElement('li');
    driveNode.className = 'gbt';
    driveNode.innerHTML = '<a class="gbzt" id="gb_23" onclick="gbar.qs(this);gbar.logger.il(1,{t:23})" href="http://mail.google.com/mail/?hl=en&amp;tab=wm"><span class="gbtb2"></span><span class="gbts">Drive</span></a>';

    // Create the second node
    var calendarNode = document.createElement('li');
    calendarNode.className = 'gbt';
    calendarNode.innerHTML = '<a class="gbzt" id="gb_23" onclick="gbar.qs(this);gbar.logger.il(1,{t:23})" href="http://mail.google.com/mail/?hl=en&amp;tab=wm"><span class="gbtb2"></span><span class="gbts">Calendar</span></a>';

    // Get the parent node to insert the new nodes
    var parentNode = document.querySelector('#gbz');
    if (parentNode) {
        // Append the new nodes to the parent node
        parentNode.appendChild(driveNode);
        parentNode.appendChild(calendarNode);
    }
})();