• Resolved sojic

    (@sojic)


    First, I want to say “amazing plugin”. Very useful.

    Now, I am facing with a problem.

    I am using “revive” (ex openX) and I need following structure:

    <script type='text/javascript'>
    var OA_zones = {
    	'header': 3,
    	'sidebar': 8
    	........
    }
    </script>
    <script type='text/javascript'
    src='http://revive......../spcjs.php'></script>
    
    <script src="..../autoptimize99999.js"></script>

    At the moment, autoptimize “cut” OA_zones, and put it in the file, which is called after “spcjs.php”.

    Autoptimize has “exclude” function, but it accept javascript filenames… I need to exclude “inline” script.

    It would be nice if you add feature to handle ex:
    <script data-autopimize="exclude">
    for inline scripts

    https://wordpress.org/plugins/autoptimize/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Exclude Inline javascript’ is closed to new replies.