Meetup AutoJoin

try to take over the world!

  1. // ==UserScript==
  2. // @name Meetup AutoJoin
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description try to take over the world!
  6. // @author You
  7. // @match http://www.meetup.com/*/events/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. var meetups = [
  12. 229970135
  13. ];
  14.  
  15. (function() {
  16. 'use strict';
  17. for (var i = 0; i < meetups.length; i++) {
  18. if (window.location.href.indexOf(meetups[i]) === -1) { //valid meetup
  19. return;
  20. }
  21. }
  22. var btn = $("#event-join");
  23. if (btn.length === 0) {
  24. realoadPage(10000);
  25. } else
  26. {
  27. btn[0].click();
  28. }
  29. })();
  30.  
  31.  
  32. /***********************************************************
  33. * Utility Functions
  34. **********************************************************/
  35.  
  36. function realoadPage(miliseconds) {
  37. setInterval(function(){
  38. window.location.reload();
  39. }, miliseconds);
  40. }

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址