tlemens / twitter-mass-follow

A chrome extension for Twitter written in ES6
57 stars 21 forks source link

Plan to create PR - Load x pages of followers #44

Open Glyd opened 6 years ago

Glyd commented 6 years ago

Currently the auto-scroll part of this extension only works when the tab is in focus. This isn't ideal when you want to do something else while the extension runs.

I would like to create another option in the extension to scroll a user-specified amounts of times. It would be another button with a text box next to it, allowing the user to enter however many pages they want to scroll.

The actual implementation itself will just be something like the following, with a loop to limit it:

setInterval(() => window.scrollBy(0,400), 1000)

If you're ok with me submitting this PR, let me know and I'll do it. Thanks

tlemens commented 6 years ago

Maybe the new button would be confusing for other users. Did you try to get the autoscroll-without-focus working with a different approach?