Exemple Reprenez le workflow de l'exemple précédent et modifiez le script de l'activité Code JavaScript avec le script suivant
Take the workflow from the preceding example and replace the script of the JavaScript Code activity with the following script
Une vue qui génère une bibliothèque de code JavaScript avec des fonctions qui simulent l'interface gettext, ainsi qu'un tableau de chaînes de traduction.
A view that produces a JavaScript code library with functions that mimic the gettext interface, plus an array of translation strings.
Des attaquants distants pouvaient exécuter du code Javascript avec les droits chrome à travers une page « about: » comme « about:mozilla ».
Remote attackers could execute Javascript code with chrome privileges via an about: page such as about:mozilla.
Note: Si vous avez des difficultés à faire fonctionner cet exemple, essayez de comparer votre code JavaScript avec notre version finale (voir également la démo en ligne).
Note: If you have trouble getting this example to work, try comparing your JavaScript code against our finished version (also see it running live).
Plusieurs failles dans la suite Mozilla permettent des attaques allant de l'exécution de code javascript avec élévation de privilèges à la fuite d'informations.
Several vulnerabilities in the Mozilla Suite allow attacks ranging from the execution of javascript code with elevated privileges to information leakage.
Un transpilateur qui convertit du code JavaScript avec la syntaxe ES6/ES7 en syntaxe ES5.
Une erreur dans l'implémentation du bac à sable JavaScript permet l'exécution de code JavaScript avec des droits inadéquats en utilisant des URL javascript:.
Il a été découvert qu'il est possible d'exécuter du code JavaScript arbitraire avec les privilèges de chrome grâce à des vecteurs inconnus.
It was discovered that it is possible to run arbitrary JavaScript with chrome privileges via unknown vectors.
Il a été découvert que des attaquants pouvaient exécuter du code JavaScript arbitraire avec des privilèges chrome par des vecteurs liés à la prévisualisation.
It was discovered that attackers could run arbitrary JavaScript with chrome privileges via vectors related to the feed preview.
Cette fois, les criminels ont ciblé un référentiel en ligne utilisé pour partager du code JavaScript et des scripts avec d'autres développeurs de logiciels.
This time, the criminals targeted an online repository used to share JavaScript code and scripts with other software developers.
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.