WP Manifestindependent plugin directory
manifest / media / amp-remove-noscript

AMP Remove Noscript

Plugin to remove duplicate images with noscript tag in AMP.

by Milind, rtCamp, Google · github.com/milindmore22/amp-remove-noscript · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/milindmore22/amp-remove-noscript/archive/refs/heads/main.zip

AMP Remove duplicate image with noscript fallback.

The Plugin removes duplicate child elements on AMP pages created because of noscript fallback Support topic https://wordpress.org/support/topic/duplicate-image-in-amp-wordpress-plugin/

Plugin Structure

.
├── sanitizers
│   ├── class-sanitizer.php
└── amp-remove-noscript.php

Sanitizers

The plugin uses amp_content_sanitizers filter to add custom sanitizers, we have added a two examples which add simple toggle for menu and search using amp-state and amp-bind.

Need a feature in plugin?

Feel free to create a issue and will add more examples.