Skip to content

Instantly share code, notes, and snippets.

@dapi
Last active December 10, 2019 07:28
Show Gist options
  • Select an option

  • Save dapi/364814bc222ebd63a22fbc08602794a8 to your computer and use it in GitHub Desktop.

Select an option

Save dapi/364814bc222ebd63a22fbc08602794a8 to your computer and use it in GitHub Desktop.
Находит наименование первого яндекс счетчика установленного на сайте через JavaScript
Object.getOwnPropertyNames( window ).find(function(str) { return str.includes('yaCounter'); })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment