mmmturkeybacon Disable Gift Card Withdrawal

Disables the Amazon Gift Card withdrawal radio button on Amazon Payments.

当前为 2015-03-07 提交的版本,查看 最新版本

// ==UserScript==
// @name        mmmturkeybacon Disable Gift Card Withdrawal
// @author      mmmturkeybacon
// @description Disables the Amazon Gift Card withdrawal radio button on Amazon Payments.
// @namespace   http://userscripts.org/users/523367
// @match       https://payments.amazon.com/withdraw*
// @match       https://www.mturk.com/mturk/transferearnings
// @require     https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js
// @version     1.02
// @grant       none
// ==/UserScript==

$(document).ready(function ()
{
    $('input[id="purchaseGC"][value="purchaseGC"][name="withdrawTo"][type="radio"]').attr('disabled', 'true');
    $('input[name="selectedExecutorTypeName"][value="GCSharp"][type="radio"]').attr('disabled', 'true');
});