4

Can I easily block the images/gifs/embedded video media links in a StackExchange chat room without having to completely block everything globally in a browser?

The reason I had to ask this question because anyone can post one box images which are linked to a different site other than https://i.stack.imgur.com and I cannot find a way to block them using browser plug-ins since they are unrelated to https://chat.stackoverflow.com for example.

2
  • Do you want to block all the media links in a chat room, or just selective links? Do you happen to use Firefox?
    – 286110
    Jun 27, 2015 at 10:52
  • @Firelord: All the media links displaying preview of media content in a chat room. Yes, I am using Firefox.
    – cpx
    Jun 27, 2015 at 11:28

2 Answers 2

4

You could use a userstyle:

.user-image, .ob-youtube { display: none; }

There is a page with instructions on how to use userstyles that has directions for both Firefox and Chrome.

3
  • Will the major browsers load this image and merely not display it, or will they not load the image at all? Since the OP mentioned "sites other than imgur", merely hiding the image might not help them. Jun 27, 2015 at 10:22
  • @CodesInChaos Uhh, I'm pretty sure they do (and JS would be required if you didn't want them to load at all), but don't quote me on that.
    – Doorknob
    Jun 27, 2015 at 10:23
  • You can also answer this. (meta.stackexchange.com/questions/259565/…)
    – nicael
    Jun 27, 2015 at 14:40
2

Firelord asked this question on superuser and accepted as answer the imglikeopera plugin for firefox.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .