在重定向Windows.location = 1后,将此链接粘贴到浏览器地址栏后的示例:重定向后,主链接http://example.com/v?id=xxxxxxx&itag=36
显示如下:2: https://r10---sn-4wg7en7l.c.docs.google.com
链接https://r10---sn-4wg7en7l.c.docs.google.com
如何获取iframe src的第二个链接,请对此提供任何帮助
You can get the url of your page with window.location.href
in javascript or get the previous page with document.referrer
In PHP you can get the current page with $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']
and the previous page with $_SERVER['HTTP_REFERER']
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.