Good to see you automation for meetups


After each meetup many of you receive email with the subject Stay in touch! and a link to Meetup.com with simple questionnaire page How was the Meetup?

To keep networking level high I prefer to Say hello to everybody, but i’m too lazy to do it manually otherwise I would not be a developer, so here is a solution!

Meetup.com as many sites uses jQuery library, which means that we can open Developer Console in our browser and run simple JavaScript command which will do all the magic for us:

  1. Go to Meetup.com page with questionnaire form
  2. Open Developer Console in Crome, FireFox, Safari, etc
  3. Run following code:
(function(){
    var i;

    function tryToSayHello() {
        var button = $('p.gtsy > a.D_submit').not('.g2cu')[0],
            next   = $('a[rel=next]');


        if (button) {
            button.click();
            console.log('click');

        } else if (next) {
            next.click();

        } else {
            clearInterval(i);
            console.log('Done!');
        }
    }

    i = setInterval(tryToSayHello, 300);
})()

Enjoy!

jquery, meetup.com

Related Posts

Nested queries in MongoDB shell (almost joins)

Simple way to query/cross match data across multiple collections.

How to remove multiple Docker images

A simple shell command will help you to remove multiple docker images.