Skip to content

Instantly share code, notes, and snippets.

@gustavomdsantos
Last active September 4, 2026 18:12
Show Gist options
  • Select an option

  • Save gustavomdsantos/d32cf119bbb8da136ee9db4d45a71885 to your computer and use it in GitHub Desktop.

Select an option

Save gustavomdsantos/d32cf119bbb8da136ee9db4d45a71885 to your computer and use it in GitHub Desktop.
Google Notebook Studio Panel Hider - User JS for Tampermonkey / Greasemonkey / Violentmonkey.
// ==UserScript==
// @name Google Notebook Studio Panel Hider
// @namespace https://github.com/gustavomdsantos
// @version 1.1
// @description Hides the Studio panel and expands the Chat panel.
// @author Gustavo Moraes
// @match https://notebook.google.com/*
// @icon https://notebook.google.com/_/static/branding/v6/dark_mode/favicon/favicon.svg
// @run-at document-start
// @grant none
// ==/UserScript==
(() => {
'use strict';
const style = document.createElement('style');
style.textContent = `
.studio-panel,
studio-panel,
#studio-panel {
display: none !important;
width: 0 !important;
min-width: 0 !important;
max-width: 0 !important;
flex: 0 0 0 !important;
}
.panel-gutter:has(+ .studio-panel) {
display: none !important;
width: 0 !important;
min-width: 0 !important;
max-width: 0 !important;
flex: 0 0 0 !important;
}
.chat-panel {
flex: 1 1 auto !important;
width: auto !important;
max-width: none !important;
}
`;
document.documentElement.appendChild(style);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment