NotebookLM Tab Tips

Shows the current NotebookLM page number in the browser tab title

Fra og med 09.01.2026. Se den nyeste version.

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         NotebookLM Tab Tips
// @namespace    https://greasyfork.org/users/auto-generated/notebooklm-tabs-1a9f3c
// @version      1.0.0
// @description  Shows the current NotebookLM page number in the browser tab title
// @license      MIT
// @match        *://*.usercontent.goog/*
// @match        *://notebooklm.google.com/*
// @run-at       document-start
// @grant        none
// ==/UserScript==

if (window.location.href.includes('notebooklm.google.com')) {
    let prev = null;
    
    window.addEventListener('message', (e) => {
        if (e.data && e.data.type === 'gverwgregewrfew') {
            if (prev === null) {
                prev = document.title.slice(1);
            }
            document.title = e.data.title + prev;
        }
    });
}

if (window.location.href.includes('usercontent.goog/notebooklm-apps/shim.html')) {
    const feewfewfewfewf = window.Blob;
    
    window.Blob = function(parts, options) {
        if (options && options.type && options.type.includes('text/html')) {
            parts = parts.map(part => {
                if (typeof part === 'string') {
                    part = part.replace(/<meta[^>]*content-security-policy[^>]*>/gi, '');
                    part = part.replaceAll('c.isCorrect;', 'c.isCorrect; c.isCorrect ? window.top.postMessage({type:"gverwgregewrfew",title:b+1},"*") : {};');
                    return part;
                }
                return part;
            });
        }
        return new feewfewfewfewf(parts, options);
    };
}