      throw new Error;
                        }
                        redirectUrl = "obtainium://add/" + appData.url;
                    }
                    document.getElementById('redirecting').style.display = 'block';
                    window.location.href = redirectUrl;
                    document.getElementById('redirectBtn').onclick = function() {
                        window.location.href = redirectUrl;
                    };
                    document.getElementById('appLink').style.dis