click all the cookies

great beta cookie empire

当前为 2016-02-06 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name click all the cookies
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.1
  5. // @description great beta cookie empire
  6. // @author gofi
  7. // @match http://orteil.dashnet.org/cookieclicker/beta/
  8. // @require http://code.jquery.com/jquery-latest.js
  9. // ==/UserScript==
  10. /* jshint -W097 */
  11. 'use strict';
  12.  
  13. var clickbigcookie = setInterval(function() {
  14. $('#bigCookie').trigger('click');
  15. }, 1);
  16. var clickgoldencookies = setInterval(function() {
  17. $('#goldenCookie').trigger('click');
  18. }, 1);