Title: A Plugin Keeps Loading
Last modified: June 21, 2021

---

# A Plugin Keeps Loading

 *  Resolved [devansh1995](https://wordpress.org/support/users/devansh1995/)
 * (@devansh1995)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/a-plugin-keeps-loading/)
 * hello team,
 * thanks for the awesome plugin. Please check the link provided. In amp version
   on mobile, it keeps showing LOADING GOOGLE DRIVE FOLDER. If you will see a desktop
   version or non amp page, the plugin works perfectly and lists the files of that
   particular folder. Please help me with this ASAP. Thanks again.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fa-plugin-keeps-loading%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/a-plugin-keeps-loading/#post-14580485)
 * Hello [@devansh1995](https://wordpress.org/support/users/devansh1995/)
 * Thank you for the support topic, it seems that the drive links are generated 
   by custom javascript, AMP does not allow custom javascript on AMP pages, so the
   AMP plugin removes them to create a valid AMP page.
 * From the link you shared, I can see your iframe link for the directory in google
   drive is working as expected (“CA INTERMEDIATE MOCK TEST PAPERS NOV 2020”) on
   AMP and non-AMP pages, I will suggest going with that approach.
 *  Thread Starter [devansh1995](https://wordpress.org/support/users/devansh1995/)
 * (@devansh1995)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/a-plugin-keeps-loading/#post-14580623)
 * So is there no way I can keep using the dans gdrive plugin which i was using 
   earlier and was working good until i installed this amp plying?
 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/a-plugin-keeps-loading/#post-14582958)
 * Hello [@devansh1995](https://wordpress.org/support/users/devansh1995/)
 * As I explained before the plugin uses javascript, AMP does not allow custom javascript.
   however you can use [amp-script](https://amp.dev/documentation/components/amp-script/?format=websites)
   component to add script.
 * but using an iframe-based directory link was the easiest way to handle it so 
   I suggested that approach.
 * Also, the javascript which was added by the plugin also exposed your Google drive
   key’s on the site. so anyone who views the source of your site can easily see
   them which they can use to add or remove files to your drive.
 *  Thread Starter [devansh1995](https://wordpress.org/support/users/devansh1995/)
 * (@devansh1995)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/a-plugin-keeps-loading/#post-14585062)
 * Ok thanks a lot for the help and quick reply.
 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/a-plugin-keeps-loading/#post-14587392)
 * I hope I answered all your queries, I’ll mark this as resolved. Feel free to 
   open a [new support topic](https://wordpress.org/support/plugin/amp/#new-post)
   if you require any further assistance.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘A Plugin Keeps Loading’ is closed to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Milind More](https://wordpress.org/support/users/milindmore22/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/a-plugin-keeps-loading/#post-14587392)
 * Status: resolved