Skip to content

Instantly share code, notes, and snippets.

@anevins12
Last active March 12, 2021 17:53
Show Gist options
  • Save anevins12/6d4c30800df981dccc36e26b908a7cad to your computer and use it in GitHub Desktop.
Save anevins12/6d4c30800df981dccc36e26b908a7cad to your computer and use it in GitHub Desktop.
Remove gifs & emojis from Microsoft Teams
// ==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);
})();
@quamis
Copy link

quamis commented Jul 29, 2019

@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