FanPost

Japers' Rink Image Suppressor

Recently some respected people (sk84fun_dc, fat_daddyo, etc.) have been complaining (legitimately, mind you) about the amount of images in the comments. Especially on large threads, this can substantially weigh down the page load and make it an unpleasant user experience for those of us on slower computers (corporate/government-mandated or otherwise). As someone who would hate to lose their valuable input for a stupid reason, I got to work.

To that end, I wrote a Greasemonkey script to help alleviate this problem. It monitors AJAX refreshes (new comments) and hides any image in the comment body and replaces it with a “Click here to show image” link. Clicking that link will, shockingly, show the image.

There are some downsides:

  1. It still has to load all the images the first time, but I’m working on that. If you load the clips early in the day, it will be the fastest, as it will intercept any new images as they’re posted.
  2. It only works on Japers’ Rink right now, but I’ll expand it to the full list of SB Nation sites when I get a chance.

Just thought I’d post it now so anyone who is interested can use it while I continue development. If you have requests, feel free to list them below or send me an email.

Before

After

TL;DR

This script speeds up pages:

Japers’ Rink Image Suppressor

Obligatory warning about installing user scripts, but you can trust that I am a long-time member of the rink with a vested interest in maintaining my good standing, plus the code is available for anyone to verify

More detailed instructions about installing user scripts

Greasemonkey — A Firefox plugin for installing user scripts

TamperMonkey — A Chrome Extension for loading Greasemonkey Scripts

If this FanPost is written by someone other than one of the blog's editors, the opinions expressed in it do not necessarily reflect those of this blog or SB Nation.

X
Log In Sign Up

forgot?
Log In Sign Up

Forgot password?

We'll email you a reset link.

If you signed up using a 3rd party account like Facebook or Twitter, please login with it instead.

Forgot password?

Try another email?

Almost done,

Join Japers' Rink

You must be a member of Japers' Rink to participate.

We have our own Community Guidelines at Japers' Rink. You should read them.

Join Japers' Rink

You must be a member of Japers' Rink to participate.

We have our own Community Guidelines at Japers' Rink. You should read them.

Spinner

Authenticating

Great!

Choose an available username to complete sign up.

In order to provide our users with a better overall experience, we ask for more information from Facebook when using it to login so that we can learn more about our audience and provide you with the best possible experience. We do not store specific user data and the sharing of it is not required to login with Facebook.

tracking_pixel_9355_tracker