Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

9
  • Should be easy enough to write userscript doing it automatically. :) Commented Feb 6, 2015 at 20:26
  • if you use SO for work related stuff, this block can be challenged - you only need to find an example of work-related post that gets harder to read because of blocked image. Save the URLs of that post and image and try image URL in browser, so that it brings up block page. In my experience, this page typically has instructions on how to request unblock...
    – gnat
    Commented Feb 6, 2015 at 20:31
  • ...Do request per instructions, preferably clarifying that it's for "s.imgur" only, not for "general" imgur (I've read somewhere here that s.imgur is typically blocked by accident when block really targets general imgur). Justify that block makes it harder for you to do your job. In (not very likely) case that request doesn't pass, consider asking for advice from your manager, with the same justification
    – gnat
    Commented Feb 6, 2015 at 20:32
  • 1
    @Shadow something like $('img[src^="i.stack.imgur.com"]').attr('src', function() {return $(this).attr('src').replace("http","https")})
    – Rm558
    Commented Feb 6, 2015 at 23:31
  • Yup, that might work! :) Commented Feb 6, 2015 at 23:52
  • 1
    @Rm558 Don't forget code formatting: $('img[src^="i.stack.imgur.com"]').attr('src';, function() {return $(this).attr('src').replace("http","https")}). I'm making an userscript for this right now. Commented Aug 20, 2016 at 1:25
  • How can I create this script and run?
    – LCarvalho
    Commented Jun 19, 2017 at 16:49
  • 1
    throughout the network many, probably most by now, imgur links have been changed to https anyway. do users still find this method helpful for regular use?
    – ocæon
    Commented May 12, 2019 at 12:21
  • @ocæon In my experience, the images embedded in StackExchange already use HTTPS. This workaround did not work for me. Commented Aug 22, 2023 at 0:43