Answer the question
In order to leave comments, you need to log in
How to add js file to all pages of the site?
It is necessary to add script .js to all pages of the site, including those nested in subfolders.
Adding to the footer, for example, I do not cover other site folders and pages where the footer is not connected.
Is there an option to add the file via root .htaccess or other options to add a .js file?
Answer the question
In order to leave comments, you need to log in
Run a script on the node that will open all project files and inject the necessary line before /body. A task for 5 minutes for the knowledgeable, for half an hour for the not very knowledgeable.
Well, or hands.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question