const params = new URLSearchParams(window.location.search);


  document.getElementById("文本框id").value = decodeURIComponent(params.toString().replace(/=$/, ''));