Search code examples
tumblr

Stop Tumblr from adding JS and CSS files to theme


Tumblr is just flooding the blogs with loads of JS and CSS files. I don't know if these files are required or just useful. Here's a list of them

The JS: - tumblelog.js & pre_tumblelog.js -> looks like this is Tumblr JS API, but do we need it? - cedexis.radar.js -> no idea what this does. - rapid-3.18.1.js

The CSS:

  • fonts/gibson/stylesheet.css

And some images are also added to the page.

I searched a bit, but there is no way of stopping tumblr from doing this. Is there any way we can stop Tumblr from doing so, if we don't need these files? If we need the scripts, can you please elaborate why we need these?


Solution

  • No, sadly you can't do anything to stop Tumblr adding scripts / style sheets as they are added serverside.

    For reference, fonts/gibson/stylesheet.css is added in relation to the theme fonts option: https://www.tumblr.com/docs/en/custom_themes#theme-options