get_window_url_params = """ function(url_params) { console.log(url_params); const params = new URLSearchParams(window.location.search); url_params = Object.fromEntries(params); return url_params; } """