Created
February 4, 2019 10:03
-
-
Save swashata/859b81dec910e0c1ec780c5dc4b48f8c to your computer and use it in GitHub Desktop.
Tampermonkey For theater mode wesbos
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name WesBos Theater Mode | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://courses.wesbos.com/account/access/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
// Your code here... | |
const style = ` | |
.viewer__selector, | |
.video__player { | |
flex-basis: 100% !important; | |
} | |
`; | |
const tag = document.createElement('style'); | |
tag.innerHTML = style; | |
document.head.appendChild(tag); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment