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); | |
})(); |
This is only useful if you're viewing Microsoft Teams in your Web browser.
If you are viewing it in your browser;
- Install the Tampermonkey addon;
- Copy and paste this script into a new Tampermonkey script (in the addon dashboard).
Ok, I'm using the app, so it won't work for me
…On Wed, Jul 24, 2019, 13:46 Andrew Nevins ***@***.***> wrote:
This is only useful if you're viewing Microsoft Teams in your Web browser.
If you are viewing it in your browser;
1. Install the Tampermonkey addon;
2. Copy and paste this script into a new Tampermonkey script (in the
addon dashboard).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://gist.github.com/6d4c30800df981dccc36e26b908a7cad?email_source=notifications&email_token=AAWUEREJ3C3KW354JFB2URLQBAXIJA5CNFSM4IGOUHP2YY3PNVWWK3TUL52HS4DFVNDWS43UINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAFV22W#gistcomment-2979243>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAWUERG7YDNR6KFCDYOBXRTQBAXIJANCNFSM4IGOUHPQ>
.
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
@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
how should I use this?