Skip to content

Instantly share code, notes, and snippets.

@danilchenko
Last active October 19, 2018 19:43
Show Gist options
  • Select an option

  • Save danilchenko/d3d1b3df36e7d317c472 to your computer and use it in GitHub Desktop.

Select an option

Save danilchenko/d3d1b3df36e7d317c472 to your computer and use it in GitHub Desktop.
скрипт для использования гугл музыки одного аккаунта внескольких браузерах.
setInterval(function() {if ($("paper-dialog[role='dialog']")) {$("[data-id='forward']").click(); console.log('success'); }}, 1000);
// for chrome bookmark
javascript:(function(){console.log('start'); setInterval(function() {if (document.querySelector('paper-dialog[role="dialog"]')) {document.querySelector('[data-id="forward"]').click(); console.log('it is still working...'); }}, 1000);})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment