Skip to content

Instantly share code, notes, and snippets.

@yamert
Last active September 28, 2025 19:23
Show Gist options
  • Select an option

  • Save yamert/d6baa6b1722428273c269450fd663b13 to your computer and use it in GitHub Desktop.

Select an option

Save yamert/d6baa6b1722428273c269450fd663b13 to your computer and use it in GitHub Desktop.
HTML rm
document
.querySelectorAll('div#xxx')
.forEach(element => element.remove());
document
.querySelectorAll('[id^="yandex_rtb"]')
.forEach(element => element.remove());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment