Goodreads Giveaways checkbox (un)checker

Checks the "I have read and agree to terms and conditions..." box and unchecks the "Also add this book to my to-read shelf" box.

当前为 2016-01-21 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Goodreads Giveaways checkbox (un)checker
  3. // @namespace Joseph
  4. // @description Checks the "I have read and agree to terms and conditions..." box and unchecks the "Also add this book to my to-read shelf" box.
  5. // @include https://www.goodreads.com/giveaway/enter/*
  6. // @include http://www.goodreads.com/giveaway/enter/*
  7. // @version 2
  8. // ==/UserScript==
  9.  
  10. var terms = document.getElementById("terms");
  11. terms.checked = true;
  12.  
  13. var want_to_read = document.getElementById("want_to_read");
  14. want_to_read.checked = false;