On page CSS or JavaScript inclusion |
When the AmpProject.org was introduced I created an online utility to create an Amp template by sending the required JavaScript components by get numeric parameters. This was necessary because Amp does not validate pages if there are unused JavaScripts included in the page.
The controller checked the URL parameters and only selected the required JavaScript files then concatenated the relevant files which was inserted into the web page. https://amphtmldemo.tk/create-template |
Messages In This Thread |
On page CSS or JavaScript inclusion - by pc87 - 09-26-2019, 11:42 PM
RE: On page CSS or JavaScript inclusion - by includebeer - 09-29-2019, 06:43 AM
RE: On page CSS or JavaScript inclusion - by pc87 - 09-30-2019, 12:38 AM
RE: On page CSS or JavaScript inclusion - by MGatner - 09-30-2019, 05:37 PM
RE: On page CSS or JavaScript inclusion - by John_Betong - 10-03-2019, 06:20 AM
|