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

js

(0.36 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. 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...
  4. 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...
  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. 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...
  7. WebGLUniformLocation - Web APIs | MDN

    Learn about the WebGLUniformLocation interface, including code examples, specifications, and browser compatibility....Examples Getting an uniform location js const canvas = document.getE...

    developer.mozilla.org/en-US/docs/Web/API/WebGLU...
  8. 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...
  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. 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...