您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Auto-enter giveaway
当前为
// ==UserScript== // @name Goodreads giveaway auto-enter // @namespace http://ttmyller.azurewebsites.net/ // @version 0.1 // @description Auto-enter giveaway // @author ttmyller // @include https://www.goodreads.com/giveaway/enter* // @include http://www.goodreads.com/giveaway/enter* // @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js // ==/UserScript== // Change this to false if you want always click the last submit button manually var autoSubmit = true; // Select (first) address if needed clickFirst("a:contains('Select This Address')"); // Check "I agree to sell my soul to satan" checkbox clickFirst("#termsCheckBox"); // Uncheck the "add in to-read shelf" clickFirst("#want_to_read"); if (autoSubmit) clickFirst("#giveawaySubmitButton") function clickFirst(selector) { var el = $(selector); if (el.length > 0) { el[0].click(); } }