Last active
March 10, 2021 18:21
-
-
Save SeanMcP/30e222ccd252082b4725f66d6f5eebf4 to your computer and use it in GitHub Desktop.
Small improvements to the Google Meet UI
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 Google Meet UI Improvements | |
// @namespace https://seanmcp.com | |
// @version 0.2 | |
// @description Small improvements to the Google Meet UI | |
// @author Sean McPherson | |
// @match https://meet.google.com/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
// Your code here... | |
const style = document.createElement('style') | |
style.textContent = ` | |
[role="button"][aria-label="Leave call"] { | |
margin-left: 80px; | |
margin-right: 80px; | |
} | |
` | |
style.dataset.id = 'gmui' | |
document.head.appendChild(style) | |
return '✨ Added styles to Google Meet UI' | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment