yahoogroups-joiner icon indicating copy to clipboard operation
yahoogroups-joiner copied to clipboard

Automatically clicks groups

Open oxguy3 opened this issue 5 years ago • 3 comments

This PR makes the process of joining groups a little bit quicker. When it's on the search page, it automatically clicks the link to the group after 250ms, which allows the user to multi-task while waiting on Yahoo's slow servers to load. Basically, you join a group, and then the extension will (eventually) load you directly into the next group. I also made it open the group link in the same tab as the search page, which allows the entire operation to run neatly in one tab.

oxguy3 avatar Dec 10 '19 04:12 oxguy3

During testing, we found that things like this significantly increased the difficulty of the CAPTCHAs we were then asked to complete (seems like Google is good at detecting automated methods). How have you found the difficulty of the CAPTCHAs for this method?

andrewferguson avatar Dec 10 '19 08:12 andrewferguson

I've joined quite a few groups with this version of the script, and the captchas seem basically the same in terms of difficulty. My fork does load the search page just like your version does; mine just doesn't stay there very long (it waits 250ms before clicking the link). Perhaps if Yahoo's servers weren't so slow, this might enable you to send requests fairly quickly and maybe then Google would get suspicious; as it stands, Yahoo's slowness adds so much wait time between requests that I don't think Google would get suspicious even if I dropped the 250ms wait. Even with the occasional burst of speed out of Yahoo's servers (once in a blue moon, I've seen one or two pages load quickly before it goes back to its normal slowness), I haven't seen the captchas get noticeably harder than the ones I was getting before.

oxguy3 avatar Dec 10 '19 08:12 oxguy3

I've been playing around with this version, and I am noticing a lot more of the Click verify once there are none left variety of Captcha, which is what I presume we mean by "difficult".

Using the PR version as it stands, I started getting a solid run of difficult Captchas after the 10th group, making it challenging to continue.

I was able to mitigate this by making two changes to the code:

  1. In src/inject/search.js:26, use links[0].click() instead of window.open
  2. Undo the changes this PR makes to the way in which tabs are managed. (Otherwise, there is an intermittent bug that often prevents the script from moving on to the next group.)

After making the changes above, not a single one of the 24 groups I joined subsequently had a difficult Captcha.

(Amazing work from everyone, by the way! 🙂)

12joan avatar Dec 15 '19 20:12 12joan