Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YouTube Auto-Like Videos script does not execute click event #1

Open
fireundubh opened this issue Jul 14, 2017 · 1 comment
Open

YouTube Auto-Like Videos script does not execute click event #1

fireundubh opened this issue Jul 14, 2017 · 1 comment

Comments

@fireundubh
Copy link

I couldn't find a repo for this script, or your e-mail address, so I'm posting here.

I fixed two issues with the YouTube Auto-Like Videos script:

  • MouseEvent.initMouseEvent() was deprecated, and so the script was not executing the click event. I updated the click() function to use MouseEvent().
  • The RegEx for the username href was also outdated. YouTube seems to use /channel/ instead of /user/ now. In addition, /w+ does not work with channel IDs, so I used a very greedy match instead.

I also removed some unused variables. Here's the script with fixes:

https://gist.github.com/fireundubh/1d03fb63388a6ee63eece1691afe8a45

@baleanet
Copy link

Hi mate, can you apply youtube auto like to my website ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants