GamekitImageAutoRate

Continuously rate every pictures with 3 stars

当前为 2017-08-21 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name GamekitImageAutoRate
  3. // @namespace fr.mrcraftcod
  4. // @version 0.1
  5. // @description Continuously rate every pictures with 3 stars
  6. // @author MrCraftCod
  7. // @match https://gamekit.com/image/star/*
  8. // @match https://dogry.pl/image/star/*
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14.  
  15. function tryRate()
  16. {
  17. var button = $('[data-rating="6"]');
  18. if(!button || button === null || button === undefined)
  19. setTimeout(tryRate, 100);
  20. else
  21. button.click();
  22. }
  23.  
  24. $(document).ready(function(){
  25. tryRate();
  26. });
  27. })();