Skip to content

A script that sets Spotify's videos to windowed mode

License

Notifications You must be signed in to change notification settings

72/Spotify-Windowed-Mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Spotify Windowed Mode

A script that sets Spotify's videos to windowed mode.

Instructions

When you're watching a video in Spotify, inject the code in your browser's console.

  1. Open your browser's console.
  • Chrome on Mac: Option + ⌘ + J
  • Chrome on Windows: Shift + CTRL + J
  • Firefox on Mac: Option + ⌘ + K
  • Firefox on Windows: Cmd + Shift + J
  • Safari: Activate the option "Show develop menu in menu bar" in your Safari Preferences panel. Then Option + ⌘ + C
  1. Paste the code in the browser's console and press Enter.
let container = document.querySelector(".VideoPlayer--landscape");
let innerVideo = document.querySelector(".VideoPlayer--landscape video");
let fix =
	"width:100vw;position:absolute;top:0;left:0;z-index:10;background-color:rgba(0,0,0,0.9)";
container.style.cssText = innerVideo.style.cssText = fix;

About

A script that sets Spotify's videos to windowed mode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published