frame: false to true in BrowserWindow creationcefclient.exe --use-views --hide-frame --hide-controlsIgnore minimum window size option--enable-chrome-runtime flag or put app.enable-chrome-runtime=true in %appdata%\Spotify\prefsEnable native frames and title bars on the main window option is disabled, this mod is not compatible with the Translucent Windows Windhawk mod older than version 1.5window._getSpotifyModule('ctewh') (1.2.4-1.2.55) or window.cancelEsperantoCall('ctewh') (1.2.33-latest)(window.cancelEsperantoCall || window._getSpotifyModule)('ctewh').query() to get various information about the window and the mod_getSpotifyModule('ctewh') or cancelEsperantoCall('ctewh')query()._getSpotifyModule('ctewh') or cancelEsperantoCall('ctewh'):query(): Queries various information about the main window and the mod settings. Returns an object with the following properties:
isMaximized: Whether the main window is maximizedisTopMost: Whether the main window is always on topisLayered: Whether the main window is layeredisTransparent: Whether the main window is in transparent mode (by setTransparent())isThemingEnabled: Whether visual styles are enabledisDwmEnabled: Whether DWM is enabled. Also returns false when a basic themer has been appliedhwAccelerated: Whether hardware acceleration is enabledminWidth: The minimum width of the main window. Returns -1 if no minimum width is set with setMinSize()minHeight: The minimum height of the main window. Returns -1 if no minimum height is set with setMinSize()titleLocked: Whether the title bar text is locked (by lockTitle())dpi: The DPI of the main window. 96 for 100%, 120 for 125%, etc.playbackSpeed: The current playback speed as a decimal number (by setPlaybackSpeed())speedModSupported: Whether playback speed modification is supportedimmediateSpeedChange: Whether playback speed changes are applied immediatelyextendFrame(int: left, int: right, int: top, int: bottom)
-1, -1, -1, -1 to extend to the entire window.minimize()
maximizeRestore()
close()
window.close().focus()
setLayered(bool: layered, int?: opacity, string?: colorKey)
opacity is an optional integer parameter (0-255) that sets the opacity of the window when layered is true.colorKey is an optional string parameter that sets the color key for transparency when layered is true. Must be a six-digit hexadecimal RGB value (e.g., "FF00FF" for magenta).setTransparent(bool: transparent)
setBackdrop(string: type)
type can be one of the following values:
"none": No backdrop (Only supported on mod version 1.6 and above; will throw an exception on older versions)"mica": Mica backdrop"acrylic": Acrylic backdrop"tabbed": Tabbed backdropresizeTo(int: width, int: height)
setMinSize(int: minWidth, int: minHeight)
setTopMost(bool: topMost)
setTitle(string: title)
lockTitle(bool: lock)
lock is true.openSpotifyMenu()
setPlaybackSpeed(float: speed)
initialOptions: An object containing the initial mod settings when Spotify was started.version: The mod version as a string.showframe: Enable native frames and title bars on the main windowshowframeonothers: Enable native frames and title bars on other windowsshowmenu: Show the menu buttonshowcontrols: Show Spotify's custom window controlstransparentcontrols: Make Spotify's custom window controls transparentignoreminsize: Ignore minimum window sizetransparentrendering: Enable transparent renderingnoforceddarkmode: Disable forced dark modeforceextensions: Force enable Chrome extensionsblockupdates: Block automatic updatesallowuntested: (Advanced) Use unsafe methods on untested CEF versions