The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[Plugin: WordPress Mobile Pack] "Remove Media" not removing JavaScript (1 post)

  1. yeswap
    Posted 6 years ago #

    I was using the Ultimate Google Analytics (http://www.oratransplant.nl/uga) and WordPress Popular Posts (http://wordpress.org/extend/plugins/wordpress-popular-posts/) plugins on a blog and I noticed that the JavaScript injected by the plugins was appearing in mobile pages even when viewed by low spec mobile phones that don't support JavaScript. Ready.mobi also saw the 50 KB + of Javascript and gave my mobile pages a "2 - Bad" score.

    I had checked the "Remove Media" option on the Mobile Theme expecting that it would remove the scripts but it did not. I'm not sure if this is a bug or something that is out of WPMP's control.

    I was able get rid of the JS by using a different Popular Post plugin (http://rmarsh.com/plugins/popular-posts-plugin/) that doesn't use JavaScript and placing the standard Google supplied analytics code in a sidebar widget but it would be nice if WPMP could optionally automatically remove JavaScript.


Topic Closed

This topic has been closed to new replies.

About this Topic