LoginSignup
0
0

More than 3 years have passed since last update.

Amazonのポイントを利用しないで貯めるためのUserScript

Last updated at Posted at 2021-03-02

姉さん、Amazon Kindle本の50%ポイント還元セールです。

【50%ポイント還元】Kindle本キャンペーン
期間:2021年2月19日(金)~2021年3月4日(木)(日本時間)

せっかくの機会なので、ポイントを貯めに貯めよう!

利用環境

UserScript

userscript.js
// ==UserScript==
// @name         do not use amazon point.
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://www.amazon.co.jp/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // Your code here...
    document.querySelectorAll('input#balance-checkbox-0').forEach(function(elm) {
        if(elm.checked) {
            elm.click();
        }
    });
})();

ラムダ式のありがたみを噛みしめるため、敢えて使わない派。

効果

『ポイントを利用する』のチェックが外れてうっかり利用が減って、ポイントをためやすい。
image.png
『みたむらくん』最高です。

備考

Amazonのデジタル コンテンツの場合、デフォルトが『ポイントを利用する』だったので、こんなUserScriptを作って久しいのだけど。

もしかして、いつのまにかデフォルトでOFFに出来る様になってたりする?:thinking:

ちなみに私はポイント貯めるマンなので、うん万分貯めてスカッと使いたい派です。(PS3/PS4はヨドバシのポイントだけで買いました。) そんな同士用のスクリプト。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0