ایرادش چیه؟
const links = document.querySelectorAll('.no_follow');
        links.forEach(link => {
            link.addEventListener('click', (event) => {
                event.preventDefault();
            });
        });

let responseData = null;

        document.addEventListener('DOMContentLoaded', async function () {
            const loadingElement = document.getElementById('loading');
            const errorMessageElement = document.getElementById('error-message');
            const contentElement = document.getElementById('content');
            loadingElement.style.display = 'block';
            loadingElement.innerHTML = 'در حال بارگزاری...';

            try {
                const input_data = JSON.parse(window.Kodular.getWebViewString());
                const base_url = input_data.base_url;
                const access_token = input_data.access_token;
                const page_name = input_data.page_name;
                const other_value = input_data.other_value;

                const response = await fetch(base_url+'?page_name=' + page_name + other_value,{
                    method: 'GET',
                    headers: {
                        'Authorization': 'Bearer ' + access_token,
                        'Content-Type': 'application/json',
                    }
                });

                if (response.ok) {
                    responseData = await response.json();
                    handleResponseData();
                    loadingElement.style.display = 'none';
                    errorMessageElement.style.display = 'none';
                    contentElement.style.display = 'block';
                } else {
                    errorMessageElement.innerHTML = 'خطایی رخ داده است <br>' + response.status.toString() + '<br><br>' + '<button id="back_to_start_page" class="btn btn-food view-cart-button" onclick="">بازگشت به صفحه ورود<i class="ri-arrow-left-line"></i></button>';
                    throw new Error('Network response was not ok');
                }
                
            } catch (error) {
                loadingElement.style.display = 'none';
                errorMessageElement.style.display = 'block';
                console.error(error);
            }
            // Adding event listener for the back_to_start_page button
            document.getElementById('back_to_start_page').addEventListener('click', function() {
                window.Kodular.setWebViewString('back_to_start_page');
            });
        });

        function handleResponseData() {
            if (responseData) {
                // document.getElementById('defult_address_title').innerHTML = responseData.defult_address.title + '<i class="ri-arrow-down-s-line"></i>';

            } else {
                console.log('No data available');
            }
        }
        
        function delay(ms) {
            return new Promise(resolve => setTimeout(resolve, ms));
        }
        document.getElementById('add_customer_address').addEventListener('click', (event) => {
            event.preventDefault();
            window.Kodular.setWebViewString('add_customer_address');
            await delay(2000);
            const url = document.this.getAttribute('href');
            window.location.href = url;
        });