PageSourceSearch

https://www.zurich.co.jp/-/Media/jpz/zrh/divert/sp/common/js/returnEstimate.js

js zurich.co.jp collected 2026-10-02 04:03:33 UTC 880 bytes, 24 lines download raw bytes

1document.addEventListener('DOMContentLoaded', function() {
2    var divStepFour = document.getElementById('divStepFour');
3
4    /*check data from local storage*/
5    var expDate = localStorage.getItem("expiryDate");
6    var finalPremiumQuote = localStorage.getItem("finalPremiumQuote");
7    
8    if(expDate !== null){
9        /*compare expiry date with current date*/
10        var parsedExpiryDate = new Date(expDate).getTime();
11        var currDate = new Date().getTime();
12
13        if(parsedExpiryDate < currDate){
14            /*delete data from local storage*/
15            localStorage.removeItem("expiryDate");
16            localStorage.removeItem("finalPremiumQuote");
17        } else {
18            /* show go to step four button*/
19            if(divStepFour !== null){
20                divStepFour.style.display = 'block';
21            }
22        }
23    }
24});

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.