Andy K Helper Script

Andy K Helper Hit

  1. // ==UserScript==
  2. // @name Andy K Helper Script
  3. // @namespace http://userscripts.org/users/522315
  4. // @version 0.3
  5. // @description Andy K Helper Hit
  6. // @match https://s3.amazonaws.com/mturk_bulk/hits*
  7. // @match https://www.mturkcontent.com/dynamic/hit*
  8. // @require http://code.jquery.com/jquery-latest.min.js
  9. // @copyright 2014+, You
  10. // ==/UserScript==
  11.  
  12. $('select>option:eq(1)').attr('selected', true);
  13. $('textarea#tag6').val("No Issues");
  14.  
  15. $('ul').each(function () {
  16. $(this).remove();
  17. });
  18. $('h3').each(function () {
  19. $(this).remove();
  20. });
  21.  
  22. var isLink = false;
  23.  
  24. $('p').each(function () {
  25. console.log($(this).text().indexOf("Website URL"));
  26. console.log(isLink);
  27. if ($(this).text().indexOf("Website URL") != -1)
  28. isLink = true;
  29. else if ($(this).text().indexOf("Website URL") == -1 && !isLink)
  30. $(this).remove();
  31. });

QingJ © 2025

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