PageSourceSearch

https://www.dadway-onlineshop.com/js/sys/cart_amazonpay.js

js dadway-onlineshop.com collected 2026-10-03 19:19:52 UTC 1,054 bytes, 39 lines download raw bytes

1var ecblib = ecblib || {};
2ecblib.cart_amazonpay = ecblib.cart_amazonpay || {};
3
4(function(){
5  var _cart_amazonpay = ecblib.cart_amazonpay;
6
7  _cart_amazonpay.ShowAmazonpayLoading = function(){
8    var ShowAlert = function(){
9      var target = document.querySelector(".js-amazonpay-alert");
10      target.style.display="block";
11    };
12
13    var ShowLoadingScreen = function(){
14      var target = document.querySelector(".js-amazonpay-loading");
15      target.style.display = "table";
16    };
17
18    var HideLoadingScreen = function(){
19      var target = document.querySelector(".js-amazonpay-loading");
20      target.style.display = "none";
21    };
22    
23    ShowLoadingScreen();
24    setTimeout(function(){
25      ShowAlert();
26      HideLoadingScreen();
27    },5000);
28  };
29
30  document.querySelector(".js-amazonpay-button").addEventListener("click", _cart_amazonpay.ShowAmazonpayLoading);
31
32  window.addEventListener("pageshow", function(event){
33    if(event.persisted){
34      window.location.reload();
35    }
36  });
37
38}());
39

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.