BandcampEnhancementSuite icon indicating copy to clipboard operation
BandcampEnhancementSuite copied to clipboard

modify DOM before load

Open sabjorn opened this issue 2 years ago • 0 comments

it can be annoying to see the plugin modify the contents of a page after it has loaded. It may be possible to modify the DOM before the page is loaded.

from here:

function nodeInsertedCallback(event) {
  console.log(event);
};
document.addEventListener('DOMNodeInserted', nodeInsertedCallback);

sabjorn avatar Dec 27 '22 01:12 sabjorn