Skip to main content
0 votes
2 answers
145 views

Imagine a website that has infinite scrolling, where a link saying download, appears underneath every post. I would like to change from a word to something else of anything else. (In my case a 24x24 ...
desbest's user avatar
  • 4,958
0 votes
0 answers
60 views

I borrowed the code below from MDN, to make it quick, and added my own "watcher". If you load the page in your browser with dev tools open you'll see that, when the new child "P" ...
McMurphy's user avatar
  • 1,483
1 vote
1 answer
344 views

I need to be able to take action if a Safari user has used the new "Hide distracting items" feature to remove a modal that required user interaction. In the hope that it is, at least ...
McMurphy's user avatar
  • 1,483
0 votes
0 answers
41 views

I am modifying the text of the "More" links created by Fullcalendar V6. When those links are clicked, Fullcalendar re-renders its own text into the element, which is behind the popover div ...
Jason Overhulser's user avatar
0 votes
1 answer
14 views

I'm using iwideo script to add a background video to a div element. This works fine. Now I would like to implement a possibility to pause the video by clicking on the overlay element created by the ...
Miloš Kroulík's user avatar
1 vote
1 answer
168 views

I'm using Material-UI TextField components in my React application for a login form. The issue I'm facing happens when the browser (e.g., Chrome) autofills the saved credentials into the input fields. ...
fahad nasir's user avatar
0 votes
0 answers
26 views

In an HTML doc, I want to get an event for when a deeply nested element with a certain ID is added. Even some of the ancestors of the element are added conditionally after XHR calls. Is it / how can I ...
Divyansh Goenka's user avatar
0 votes
1 answer
211 views

I tried to use IntersectionObserver to check, when an element (button) is visible. But when i tab out, so the tab is inactive, he doesnt see it anymore. When i tab in, he sends the console.log found ...
Marlon bs's user avatar
0 votes
0 answers
51 views

First time using mutation observer, tried to add disconnect() but seems not working. Need some advice. Thanks. const targetEl = document.querySelector('.swiper-container'); const cbMutate = (mList) =&...
Jane Lim's user avatar
0 votes
1 answer
485 views

I want to be able to observe mutations in an iframe (from the parent document), so that when a certain element loads in there, I can take further actions. I haven't been able to get a MutationObserver ...
Ripeadori's user avatar
0 votes
0 answers
55 views

On a mobile version of a webpage (really just if (window.innerWidth <= 1024){}), I have a script to run a click() method on an element (a fullscreen icon) after the user clicks on an image. It all ...
Newbie's user avatar
  • 3
0 votes
1 answer
110 views

I want .container to have no height set, with the only source of height from .source__height. It will change at runtime and everything should work fine. I want to keep using aspect-ration but don't ...
Ddystopia's user avatar
0 votes
0 answers
49 views

Context: I want to delay loading of non-essential scripts until a dynamically created hero image has loaded. "use strict"; import { siteNavHandler } from "./siteNavHandler.min.js";...
EL_EL's user avatar
  • 143
0 votes
1 answer
70 views

Lets say I am observing the document using MutationObserver: let mutationObserver = new MutationObserver(mutations => { ... }); mutationObserver.observe(document, { attributes: false, ...
sudoExclamationExclamation's user avatar
1 vote
1 answer
85 views

I am working with MutationObserver API and want to correctly apply incoming MutationRecord to a copy of the tree I'm storing elsewhere. What puzzles me is removedNodes collection. When my observer is ...
Kuba Jagoda's user avatar
  • 5,617

15 30 50 per page
1
2 3 4 5
45