To disable loading of devices.css file you have to edit ad-inserter.php:
BEFORE
function ai_enqueue_scripts_hook () {
wp_enqueue_style ('ad-inserter-devices', plugins_url ( 'css/devices.css', __FILE__), false, AD_INSERTER_VERSION);
}
AFTER
function ai_enqueue_scripts_hook () {
//wp_enqueue_style ('ad-inserter-devices', plugins_url ( 'css/devices.css', __FILE__), false, AD_INSERTER_VERSION);
}
Thread Starter
gabu69
(@gabu69)
Thanks a lot for the support
Please consider this as an option in the GUI since its a worthless file for many people and less http requests for the visitors that aint using it
I will probably make it to load only if there is at least one code block that needs it.
Latest version 1.6.4 loads devices.css only if at least one code block needs client detection.