• Resolved dariocoutinho

    (@dariocoutinho)


    Since the last two updates I have the following error on the AMP pages of my website: Script not allowed.

    According to AMP Test error in the line

    <script data-cfasync="false">function fvmuag(){var e=navigator.userAgent;if(e.match(/x11.*ox\/54|id\s4.*us.*ome\/62|oobo|ight|tmet|eadl|ngdo|PTST/i))return!1;if(e.match(/x11.*me\/86\.0/i)){var r=screen.width;if("number"==typeof r&&1367==r)return!1}return!0}</script>

    I use the WP AMP plugin by custom4web.

    Details: The Plugin has an option to not use any other external plugin to avoid compatibility errors. This option is active. But even so, the FVM inserts the code above.

Viewing 1 replies (of 1 total)
  • Plugin Author Raul P.

    (@alignak)

    FVM can only support AMP plugins that have a conditional tag, such as the AMP and AMP for WP plugins.

    That specific plugin has a conditional tag as well, so I have added support on FVM 3.1.0.
    Feel free to update.

    Thanks for reporting.

Viewing 1 replies (of 1 total)
  • The topic ‘Script error in AMP pages’ is closed to new replies.