标签: javascript jsp
我需要从地址栏中检索整个网址,这是它的工作原理,网址包含
https://share.sebi.gov.in/proxy/580d11fe/https/sharelogin.sebi.gov.in/wps/myportal/Home/SEBI/SEBIHome/!ut/p/z1/lZBfb4IwFMU_DY_QW2kLLlkMbhOzuEiMBuzLUrBCI7SEdn7-uT8PMzFsu2_35pzzy7mIowJxLc6qFk4ZLdrLvufsdZXRJ7wkeAUvC4BkuSGLNNwCAEb5pwCuJoH5ZjIPAdL1BPH_-38m_c0_IuDj8Tni14j1Q_L4kUC3JGMYUvItGKv4G-QZ8bo15dc_E12GcY34II9ykEPwNlzOjXO9vfPAA9uIQbamVjqwslRBbc6B0h70p84elO1bUcmZMyep7yUjhEUx8QWh2MdYRn5cTQ8-AAXKphE-ltUtYmOsQ8VtEOq73a4AlXV5bN8BL43i8w!!/dz/d5/L2dBISEvZ0FBIS9nQSEh/?authflag=success “
我只获得了网址的一部分,即
https://share.sebi.gov.in/
而不是整个网址。我尝试使用window.location.href,window.location,document.referrer但仍然无法捕获整个url。请帮忙