Last active
March 12, 2021 17:53
-
-
Save anevins12/6d4c30800df981dccc36e26b908a7cad to your computer and use it in GitHub Desktop.
Remove gifs & emojis from Microsoft Teams
This file contains 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 Remove emojis & remove gifs | |
// @namespace http://tampermonkey.net/ | |
// @include *://*teams.microsoft.com/* | |
// @version 0.1 | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
var styles, | |
stylesTag = document.createElement('style'); | |
styles = '[class*="animated-emoticon"] { display: none; }'; | |
styles += '.stopped-gif, .playing-gif { display: none !important; }'; | |
// Add styles to tag | |
stylesTag.textContent = styles; | |
// Append tag to DOM | |
document.head.appendChild(stylesTag); | |
})(); |
@dsmiller95 - setting that up seems a little more complicated than what I would have wished for. I'll try using the web version and see how it works for a while
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can set up a script to inject ordinary javascript into the app. I set up a package to try to put more emojis in but you could use the same technique to do the opposite.
have a look at my repo: https://github.com/dsmiller95/microsoft-teams-emojifier