Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

comcastifyjs

> 编程语言
Open source

Sometimes images just load too damned fast.

1.3K stars0 likes2 views
WebsiteGitHub

About

Sometimes images just load too damned fast.

ComcastifyJS

With all this internet going around, sometimes you just want to experience the thrill of a long page load. Give your users the chance to enjoy a little slice of the future by slow loading your website's images with ComcastifyJS!

Lets slow things down!

  1. Include comcastify.js on your page, or use the latest version from our CDN:

    xml
    
    
  2. Prepare the images on your page on document ready (so images don't show up before the box):

    javascript
    comcastifyjs.letsPrepareTheseImages();
  3. Initialize comcastify on window load (so image sizes are properly calculated):

    javascript
    comcastifyjs.fixMyImagesLoadingSoFast({
        boxColor: '#123456',
        loadMaxPercent: 0.75,
        loadSpeed: 100,
        loadIncrement: 5
    });
  4. Switch up parameters to change your experience:

    • elements : A list of DOM elements to limit comcastification to.
    • boxColor : The hex color for the box placed over images.
    • loadMaxPercent : The max percentage of image to load. (0 to 1)
    • loadSpeed : Time required to load your images to their max in ms.
    • loadIncrement : Number of pixels to load each time the loadSpeed timer ticks.
    • randLoadIncrement: Set to true to make load increment random, loadIncrement ignored in this case.
    • randomPause : Probability of skipping a pass each time the loadSpeed timer ticks. (0 to 1)
    • progressiveJPEG Set to true to enable progressive JPEG emulation

See it in action!

See an example on the project's site at: http://theonion.github.io/comcastifyjs/

Or, see it modeled by these koalas!

That's it!

Now grab a coffee and enjoy the load times!

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言