ProductRnR

Marks everything Non-Adult/Ok to show.

当前为 2015-06-17 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name ProductRnR
  3. // @namespace https://greasyfork.org/users/11580
  4. // @version 1.0
  5. // @description Marks everything Non-Adult/Ok to show.
  6. // @author Kadauchi
  7. // @include https://www.mturkcontent.com/dynamic/*
  8. // @grant none
  9. // @require http://code.jquery.com/jquery-2.1.0.min.js
  10. // ==/UserScript==
  11.  
  12. // Marks radio buttons.
  13. $(document).ready(function() {
  14. $("input[value='notadult']" ).click(); // Marks Non-Adult.
  15. $("input[value='nonadult']" ).click(); // Marks Ok to show.
  16. });
  17.  
  18. // Enter will sunmit the HIT.
  19. window.onkeydown = function(event) {
  20. if (event.keyCode === 13) {
  21. $("button[name='SubmitButton']" ).click();
  22. }
  23. };