I’ve found a solution: I’ve installed mobble as a plugin in my theme, then added this code
function kivangi_deregister_supersized() {
wp_deregister_script( 'WPSupersized_standard' );
wp_deregister_script( 'WPSupersized_theme_js' );
wp_deregister_script( 'WPSupersized_core' );
}
to my custom functions and this
if (function_exists('is_mobile')) {
if (is_mobile()) {
kivangi_deregister_supersized();
}
}
in my script.php file, where I register and enqueue all javascripts and stylesheets.