NotebookLM Tab Tips

Shows the current NotebookLM page number in the browser tab title

2026-01-09 या दिनांकाला. सर्वात नवीन आवृत्ती पाहा.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==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);
    };
}