Greasy Fork is available in English.

Amazon Whishlist Helper

Amazon Whishlist helper

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         Amazon Whishlist Helper
// @version      0.4
// @description  Amazon Whishlist helper
// @author       Nilsksk
// @match        https://www.amazon.com/hz/wishlist/*
// @match        https://www.amazon.de/hz/wishlist/*
// @match        https://www.amazon.com/*
// @match        https://www.amazon.de/*
// @icon         https://www.google.com/s2/favicons?domain=amazon.de
// @grant        none
// @namespace https://greasyfork.org/users/156494
// ==/UserScript==

var listData = document.getElementById("g-items").getElementsByClassName("a-offscreen");
var listLength = listData.length;
var listPriceTotal = 0.0;
var displayElement = document.createElement("p");

for (var i = 0; i < listLength; i++){
	listPriceTotal += parseFloat(listData[i].innerText.slice(0, -2).replace(",","."));
}

displayElement.innerText = "Total price of the list: " + listPriceTotal.toFixed(2);
displayElement.style = "text-align: center; color: #007185; font-weight: bold; font-size: 16px; line-height: 24px";

document.getElementById("control-bar").appendChild(displayElement);