Created
June 19, 2020 09:55
-
-
Save libraplanet/18ef88dc289dbf7500acf2c3f46bcea5 to your computer and use it in GitHub Desktop.
!I want to earn amazon points!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Amazonの電子コンテンツで、ようやっとポイントの使用可否の選択が出来る様になりました。 | |
Amazonポイントはコレまで電子コンテンツでは使う以外の選択肢がなかったため、 | |
電子コンテンツの利用者は貯めるのが難しかったので、改善されてよかったです。 | |
しかし、デフォルトで使用する方にチェックが入っており、 | |
またそのチェック ボックスが隠れているのもあり | |
購入の都度、2 clickかかってしまいます。 | |
そのチェック ボックスをで自動で外し、 | |
ポイントを貯めるのを助けます。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name amazon use not 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(); | |
} | |
}); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment