FWIW, the ASP.Net function Page.RegisterStartupScript places the registered script at the bottom of the page, after all controls. That seems like a logical place to do it since, as you note, the JS ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果一些您可能无法访问的结果已被隐去。
显示无法访问的结果