Sort Score
Result 10 results
Languages All
Labels All
Results 811 - 820 of 23,250 for

js

(0.11 sec)
  1. Intercept HTTP requests - Mozilla | MDN

    To intercept HTTP requests, use the webRequest API. This API enables you to add listeners for various stages of making an HTTP request. In the listeners, you can:...js"] } } Next, create a file called "background.js" and...and add: js function logURL(requestDetails) { console.log(`Loading:...

    developer.mozilla.org/en-US/docs/Mozilla/Add-on...
  2. Barcode Detection API - Web APIs | MDN

    The Barcode Detection API detects linear and two-dimensional barcodes in images.... js // check compatibility if (!("BarcodeDetector"...logs the results to the console. js // check supported types BarcodeDetector...

    developer.mozilla.org/en-US/docs/Web/API/Barcod...
  3. Memory management - JavaScript | MDN

    Low-level languages like C, have manual memory management primitives such as malloc() and free(). In contrast, JavaScript automatically allocates memory when objects are created and frees it when they are not used anymore (garbage collection). This automaticity is a potential source of confusion: it can give developers the false impression that they don't need to worry about memory management.... js const n = 123; // allocates memory...result in object allocation. js const d = new Date(); // allocates...

    developer.mozilla.org/en-US/docs/Web/JavaScript...
  4. RTCRtpScriptTransform - Web APIs | MDN

    Learn about the RTCRtpScriptTransform interface, including its constructor, properties, and methods, code examples, specifications, and browser compatibility.... js // Get Video stream and MediaTrack...RTCRtpSender.transform property. js // Create a worker containing...

    developer.mozilla.org/en-US/docs/Web/API/RTCRtp...
  5. Screen: lockOrientation() method - Web APIs | MDN

    Learn about the Screen.lockOrientation() method, including its syntax, code examples, specifications, and browser compatibility.... Syntax js lockOrientation(orientation)...Usage with a string argument js screen.lockOrientationUnive =...

    developer.mozilla.org/en-US/docs/Web/API/Screen...
  6. DecompressionStream - Web APIs | MDN

    Learn about the DecompressionStream interface, including its constructor and properties, code examples, specifications, and browser compatibility.... js const ds = new DecompressionStream("gzip");...

    developer.mozilla.org/en-US/docs/Web/API/Decomp...
  7. WebTransportDatagramDuplexStream - Web APIs | MDN

    Learn about the WebTransportDatagramDuplexStream interface, including its properties, code examples, specifications, and browser compatibility....for transmission to the server: js const writer = transport.datagrams...receive data from the server: js async function readData() { const...

    developer.mozilla.org/en-US/docs/Web/API/WebTra...
  8. Permissions - Web APIs | MDN

    Learn about the Permissions interface, including its methods, specifications and browser compatibility.... Example js navigator.permissions.query({...

    developer.mozilla.org/en-US/docs/Web/API/Permis...
  9. MIDIPort - Web APIs | MDN

    Learn about the MIDIPort interface, including its properties and methods, code examples, specifications, and browser compatibility.... js function listInputsAndOutputs(midiAccess)...the device they want to use. js inputs.forEach((port, key) =>...

    developer.mozilla.org/en-US/docs/Web/API/MIDIPort
  10. Dynamic behavior in Svelte: working with variab...

    That will do for now! In this article we already implemented most of our desired functionality. Our app can display, add, and delete to-dos, toggle their completed status, show how many of them are completed, and apply filters.... js export let todos = []; This may...removeTodo() function like so: js function removeTodo(todo) { todos...

    developer.mozilla.org/en-US/docs/Learn/Tools_an...