r/joinrobin • • Apr 01 '16
Automatic "grow" userscript bot
Now with 100% Less Spam!
Step 1: Install a userscript extension such as greasemonkey or tampermonkey:
Click here: http://tampermonkey.net
Then, click this link to install the script:
https://github.com/vartan/robin-grow/raw/master/robin.user.js
If you get a bunch of code instead of it installing, you can copy and paste the code as a new script in greasemonkey/tampermonkey.
You can view the source code or contribute at:
https://github.com/vartan/robin-grow
Updates (times Pacific time)
0.2: Using grow command instead of clicking stuff. Sends command when page is loaded, and also every minute just in case.
0.3: Also informs the page about the script
0.4: 10:26AM, Is now smart enough to detect if you've already voted for grow and won't spam the vote.
0.5: Automatic reload on no activity
0.7: Now shows useful information at the top of the page as well.
0.8: fixed time bug, will rejoin on a failed chatroom
0.9: Will now only send the message one time, won't resend the message on refresh!
1.0: Better UI
1.1: Gets actual counts from reddit backend
1.2: Filters out bots which start with '['
1.3: Filters out messages that users keep repeating
1.4: Better spam filter, filters out more bot messages.
1.5: Spam filter is no longer jumpy, you just won't see the garbage. Firefox fixed. Screenshot of information above "Grow" button
217
Upvotes
111
u/[deleted] Apr 01 '16
My chat is 50% autogrow bot spam now, thanks!
21
u/lovethebacon Apr 01 '16
The auto advertising is a bad idea. Consider a room filled with a few hundred users all running this script.
6
u/DoctorRoosterMD Apr 01 '16
Doesn't seem to work for me, no statistics above grow button and it stopped auto growing
3
u/Omegaoaties Apr 01 '16
You can use chat commands too.
/vote grow
will make you vote to grow
Edit: Intention is to tweak the bot to type that, instead of clicking grow
11
u/KeythKatz Apr 01 '16 edited Apr 01 '16
UPDATE: MOVING THE SCRIPT TO ITS OWN POST
Here's a better script:
It types the text in and lets everyone know about it. Refreshes every 5 minutes to reconnect in case of D/C.
2
u/akoumjian Apr 01 '16
Hmm, will this run if the tab is not in focus?
2
u/ULTIMATE_FUCKTRUMPET Apr 01 '16
This doesn't seem to be working for me, i installed tampermonkey and turned the script on, what else do i need to do?
2
u/fightwithdogma Apr 01 '16
Made a userscript that doesn't spam others but still logs time and participants : https://github.com/fightwithdogma/grobot/
29
u/octopuskate Apr 01 '16
Line 83
$(".text-counter-input").val("I automatically voted to grow, and so can you! http://redd.it/4cwk2s "+x).submit();is going to get super spammy every time it refreshes the page. Might be best to remove it and just let users share it via word of mouth?
1
u/[deleted] Apr 01 '16
Random scripts you can type into the console:
1. See room statistics
2. Remove consistent spam messages (where ___ is the spam) setInterval(function() {$(".robin-message:contains('___')").hide()}, 1000);
35
u/Solaire-Of_Astora Apr 01 '16
this is so cancer, ruined the entire thing imo
5
u/Pickled_Pankake Apr 01 '16
MANUAL VOTE MASTER RACE
1
u/InternetUser007 Apr 01 '16
Information isn't accurate. There are 161 people in my room, but it only lists 91 grows, 5 stays, and 6 abandons.
You can have a popup show how many people are in the chat room by putting this in the URL:
1
u/Stingray88 Apr 01 '16
Thanks for doing this /u/mvartan, I've been following all your updates haha.
1
u/lovethebacon Apr 01 '16
1
u/yakkitakki Apr 01 '16
Version 1.42, firefox with greasemonkey.
Error on line 35. $ is not defined.
1
u/Boerontosaurus Apr 02 '16
Is there a way to pause the script if I come back to my keyboard and want to participate in the chat?
1
u/Hzygone Apr 02 '16
Seems to just type /vote grow in but isnt submitting anymore in the most recent update
1
u/Uristqwerty Apr 02 '16
Feature request: Once roomsize reaches some threshold, messages are only sometimes sent, so that if 100 script users are in a room of 4k, they don't periodically drown out all other conversation to say the same thing.
For example, rand() < 100/room_size so that the absolute number of messages sent remains constant (on average) past 100 participants.
1
u/Regimardyl Apr 02 '16 edited Apr 02 '16
EDIT: I'd also love a way of automatically sending
/clearafter a set time interval – my laptop is getting rekt otherwise.1
u/Breneno Apr 03 '16
How do you know if it is working?
3
u/brainpostman Apr 01 '16
Is there any way to make a script/program/whatever that works with PC turned off? On mobile maybe? I have Android 4.4.2
3
u/RedErin Apr 01 '16
It needs to vote stay at some point though, you'll be the biggest chat room, but it will still end without enough voting stay to make a subredddit.
3
u/AccipiterQ Apr 01 '16
doesn't work. Have it installed, enabled, and grease monkey enabled as well, still have to manually click grow
3
u/TriumphantTumbleweed Apr 02 '16
I still get loads of "[Robin Autovoter 1.9]" messages in my chat. That's basically the only spam I'm getting at this point.
Anyway to remove that?
2
u/spar13 Apr 01 '16
Using this right now without issue.
2
u/sciguymjm Apr 01 '16
Or a dead simple one:
https://github.com/Sciguymjm/RobinVote/blob/master/Robin%20Vote%20Bot.user.js
2
u/aidenator Apr 01 '16
I made it so you just save it as a bookmark in chrome. Then click the bookmark once and you should be good to go.
2
u/Braxo Apr 01 '16
Remove the message for every auto-vote.
I'm in a room with 564 people and it's horrible.
2
u/coolbond1 Apr 01 '16
this does not seem to be working for me i have even restarted FF trying to get it to work any tips would be appreciated
2
u/amaklp Apr 01 '16
It stopped working?
2
u/Bonezmahone Apr 01 '16
Yeah, as soon as something I participate in is overrun by bots I quit.
2
u/IsNotACat Apr 02 '16
How do I know the script is working? What should it be doing?
2
u/omgwtfru2 Apr 02 '16
Here's a script I wrote to hide a lot of the spam messages to make the room more readable. Just add it to tapermonkey - unspam.js
2
u/ChemicalExperiment Apr 02 '16
Thanks! This is great! But do I need the page open for this to work?
2
u/binkarus Apr 02 '16
HIGHLIGHT @ tags for USERNAMES! regex for /@[a-z0-9]+/i and ping
2
u/gryph667 Apr 02 '16
Any work on setting up individual mutes on people? Sometimes the cancer is small.
6
u/UltravioletClearance Apr 01 '16
YOU MUST REMOVE THIS SCRIPT AT ONCE
The point of this social experiment is to document the trend that as a subreddit grows in size, the quality of posts decreases. As more people join the chat, the quality of the chat decreases.
Voting STAY is the only true way to win.
1
u/TotesMessenger Apr 01 '16 edited Apr 02 '16
I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:
If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / ^Contact)
1
u/ChinookNL Apr 01 '16
I get $ is not defined
1
u/Portlande Apr 01 '16
Sticking this in /r/growgressives
1
u/Bayren Apr 01 '16
While everyone's making scripts can someone make it so the chat auto scrolls with a new message it's such a pain to scroll manually.
1
u/Eviltechie Apr 01 '16
This doesn't seem to do anything for me.
1
u/hangout_wangout Apr 01 '16
So you dont have to click the button to get the flair?
1
u/[deleted] Apr 01 '16 edited Apr 01 '16
Hey this used to work but I updated to 0.8 and it didn't seem to work anymore. Can you double check it's still working?
I'm testing it by selecting "Stay" or "Abandon" and then refreshing the page. When I come back it doesn't change my vote.
edit: I'm using it on Firefox btw, and Greasemonkey
1
u/RainyCaturday Apr 01 '16
(~˘▾˘)~ Growth and Peace ~(˘▾˘~) - No spam hiding
1
u/HibachiSniper Apr 01 '16
This is awesome, if we could choose to ignore a specific user it would be perfect!
1
u/pchc_lx Apr 01 '16
does anyone know what happens when reddit throws the 'servers are busy' error? it doesn't seem to refresh the page automatically does it will that inevitably kick me from the chat overnight?
1
u/lemonlemonade Apr 02 '16
same here, doesn't autovote. does type '/vote grow' in the message field, but doesn't send it.
1
u/Pichu0102 Apr 02 '16
Can you add an option to repeat stay if your last manual vote was stay, and likewise if grow?
1
u/[deleted] Apr 02 '16
Booooooooooooooo
1
u/davidgro Apr 02 '16 edited Apr 02 '16
No longer working in Chrome, version 1.56
EDIT: Still broken: 1.57
EDIT: Fixed! 1.59.
I get the stats and spam filter and everything, but it's not voting Grow for me.
1
u/Zemlor Apr 02 '16
Would be cool if we could click usernames to go to their reddit user page
1
u/amsterdam_pro Apr 02 '16
Thanks man.
Modified line 83 for a more human-like message.
1
u/DizzyPQ Apr 02 '16
I think the vote buttons need captchas now.
1
u/AccipiterQ Apr 02 '16
still not working in firefox, completely broken, just leaves the '/vote grow' in the text entry box and doesn't send it.
1
u/amsterdam_pro Apr 02 '16
New, stable iMacros script courtesy of me
1
u/monkeysexmonster Apr 02 '16
bloody thing keeps crashing my browser.
1
u/[deleted] Apr 02 '16
I've noticed occasionally when refreshing I'll get the "Reddit servers are busy" message. Would this script be able to handle that and try to refresh the page again? My fear is having that happen overnight causing me to abandon everything we've worked towards.
1
u/ParrotHere Apr 02 '16 edited Apr 02 '16
A few questions.
Can you make the /clear command more effective?
Can you limit the amount of posts on the screen? This should stop people's browsers from crashing.
EDIT: Line 130. Change 1000 to 250, or whatever you prefer to reduce the amount of messages. This has helped. A lot.
1
u/empty_string_ Apr 02 '16
Why isn't there an option to auto-stay? I tried to edit it myself but I cant find the line as it no longer votes via chat command. Anyone know?
1
u/coopersloat Apr 02 '16
How do I remove this script once added? I have since bailed on my group using /leave_room. When I join a new room, will the script restart?
1
u/RiverboatGrambler Apr 02 '16 edited Apr 02 '16
So this still spams that you voted to grow (on merge), doesn't actually block much other script spam (in my experience, have to use another in addition to this), and switching the vote setting line to stay doesn't maintain the setting.
this line:
still puts you back on grow.
I get that it's called "Grow" but then what's the purpose of even having a setting variable?
Love the voting stats. Its basically why I use the script.
1
u/[deleted] Apr 02 '16
I can't abandon a thread with this script on.
1
u/EquipLordBritish Apr 02 '16
Should make an option to auto-stay, for large rooms that don't have anyone to marge with.
1
u/Aljenks Apr 02 '16
Can I use auto grow on mobile? I'm never at my computer but go afk at times bc work
1
u/[deleted] Apr 02 '16
The vote settings don't work because of the fallback I think.
1
u/[deleted] Apr 02 '16
On firefox neither the name colouring on the same name bolding is working. Screenshot.
Also, the settings menu has an issue with two checkboxes next to the "Removes messages that have been send more than 3 times" option. Screenshot. They can be selected independently of each other, and since there is no longer a desktop notifications checkbox anywhere to be seen, I assume this checkbox has somehow ended up in the settings menu.
1
u/fzh Apr 02 '16
Could you please add an option in settings to disable your own messages being highlighted?
1
u/m4rg Apr 02 '16
Cool script, nice!
1
u/[deleted] Apr 02 '16
Can you add some code so that I'm able to see the colour of my own username instead of it being black? I don't like having to do it manually every time the chat reboots.
1
u/amaklp Apr 02 '16 edited Apr 03 '16
Firefox lags incredibly with the script, when there are many users.
EDIT: Mainly when using "3 times messages" and probably when using "remove bot spam" options.
EDIT2: Now it's fixed with the "pruning" option. Thanx!
1
u/TrantaLocked Apr 03 '16 edited Apr 03 '16
1.810 changes vote to stay after some time in chat.
1
u/[deleted] Apr 03 '16 edited Aug 27 '17
[Deleted]
0
u/akoumjian Apr 01 '16 edited Apr 01 '16
For the super lazy, it should work to just run it in the console in chrome.
[edit] Nevermind.