How to include custom JS in AMP Page through SW?
问题 We have gone through from all possible blogs of AMP but couldn't find any way to include custom JS in AMP. This blog(https://www.ampproject.org/docs/guides/pwa-amp/amp-as-pwa#extend-your-amp-pages-via-service-worker) indicates that we can add Custom JS in AMP with the help of Service worker but haven't describe how to do it. Please let us know How to do it. Edit:- After adding JS at the run time, it again show the same old error, Please have a look to the image 回答1: Note in the mentioned blog