Forums

[Plugin: WordPress Mobile Edition] Useless javascript loading (3 posts)

  1. Funnnny
    Member
    Posted 2 years ago #

    I'm using WordPress Mobile Edition, it works fine, except 1 problem.
    The first time the browser load my blog, it take about 200kb in size, and the loading is slow ( I'm using GPRS ), and when I reload the page, it only loads about 4kb. I think it's because of the javascript in the header.
    I read the HTML code, the page loads prototype.js, jquery.js, light-box, swfobject... so I think it'll increase the size of the page.
    Is there a way to exclude all script from loading in mobile version.
    Corect me if I'm wrong :)

  2. Alex King
    Member
    Posted 2 years ago #

    Sounds like your other plugins, etc. are loading that stuff in. I used to exclude all of that and people complained that their plugins broke. Can't please everyone I guess.

  3. Funnnny
    Member
    Posted 2 years ago #

    I think only plugin that using WordPress's javascript manager will have their script in mobile version.
    I think the mobile theme are not require any javascript, because it'll not load anyway ( I can't use lightbox, ajax...in Nokia default browser and Opera )
    Maybe a option to disable javscript load in the header is better

Topic Closed

This topic has been closed to new replies.

About this Topic