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 http://i.stack.imgur.com and I cannot find a way to block them using browser plug-ins since they are unrelated to http://chat.stackoverflow.com for example.

  • Do you want to block all the media links in a chat room, or just selective links? Do you happen to use Firefox? – Firelord Jun 27 '15 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 '15 at 11:28
3

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.

  • 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. – CodesInChaos Jun 27 '15 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 '15 at 10:23
  • You can also answer this. (meta.stackexchange.com/questions/259565/…) – nicael Jun 27 '15 at 14:40
1

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 .