Skip "Need anything else?" page

Skip the "Need anything else?" page by changing the cart proceed button destination

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey to install this script.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name           Skip "Need anything else?" page
// @name:ja        「他に何か必要ですか?」画面をスキップ
// @namespace      https://github.com/zknx
// @icon           https://www.amazon.com/favicon.ico
// @version        1.2
// @description    Skip the "Need anything else?" page by changing the cart proceed button destination
// @description:ja カート画面上のボタンの遷移先を変えることで「他に何か必要ですか?」画面をスキップ
// @author         zknx
// @match          https://www.amazon.*/gp/cart*
// @match          https://www.amazon.*/cart*
// ==/UserScript==

document.addEventListener('click', e => {
    const target = e.target;
    if (target.name === 'proceedToRetailCheckout') {
        e.preventDefault();
        window.location.href = '/checkout/entry/cart';
    }
});