Skip to content

Instantly share code, notes, and snippets.

@tbeckenhauer
Created February 18, 2021 00:08
Show Gist options
  • Select an option

  • Save tbeckenhauer/d702cdefb33bc6e93fa248e40c34d268 to your computer and use it in GitHub Desktop.

Select an option

Save tbeckenhauer/d702cdefb33bc6e93fa248e40c34d268 to your computer and use it in GitHub Desktop.
Maximize Linkedin Learning Video to browser window size.
// ==UserScript==
// @name LinkedIn Learning Large Screen
// @namespace http://tampermonkey.net/
// @version 0.1
// @description resize linkedin learning video to the size of the browser.
// @author You
// @match https://www.linkedin.com/learning/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
document.querySelector(".classroom-layout__stage").style.maxHeight = "100%"
document.querySelector(".classroom-layout__stage").style.flex = "0 0 100%"
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment