Nous utilisons une approche similaire à Google Adsense et d'autres plates-formes d'analyse ou de publicité - où un webmaster intègre un fichier javascript externe dans leur site Web.
We use a similar approach to Google Adsense and other analytical or advertisement platforms - where a webmaster embeds an external javascript file into their website.
Appliquez le fichier JavaScript externe à votre code HTML en insérant une balise <script> dans votre code HTML en référençant main.js.
Apply the external JavaScript file to your HTML by inserting a <script> element into your HTML referencing main.js.
Dans cette configuration, tous les appareils reçoivent le même code HTML, lequel contient un élément <script> afin d'inclure un fichier JavaScript externe dont le contenu peut varier selon le user-agent à l'origine de la demande.
Dynamically-served JavaScript In this configuration, all devices are served the same HTML which includes a <script> element to include an external JavaScript file that can have different content depending on the requesting user-agent.
Cependant, dans le cas d'un fichier JavaScript externe, le navigateur devra également suspendre sa tâche et attendre que le script soit récupéré sur le disque, le cache ou un serveur distant.
However, in the case of an external JavaScript file the browser must pause to wait for the script to be fetched from disk, cache, or a remote server, which can add tens to thousands of milliseconds of delay to the critical rendering path.
Comme pour le fichier Javascript externe et le fichier CSS, également les fichiers multimédia sont copiés dans le fichier du quiz (.XQZ), de sorte que toute les dépendances par rapport au fichier source seront perdues.
As happens for external Javascript and CSS file, also the multimedia files are copied into quiz file (.XQZ), so any dependences from source file will be lost.
Appliquez le fichier JavaScript externe à votre code HTML en insérant une balise {{htmlelement("script")}} dans votre code HTML en référençant main.js.
Apply the external JavaScript file to your HTML by inserting a {{htmlelement("script")}} element into your HTML referencing main.js.
Regrouper tous vos fichiers JavaScript dans un fichier externe très pratique, que vous pouvez modifier sans avoir à exporter le film à nouveau.
Bundle all your JavaScript file into one handy external file, which you can edit without having to export the movie again.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.