当前位置: 首页 > 网络学院 > 客户端脚本教程 > HTML DOM > HTML DOM referrer 属性
The referrer property returns the URL of the document that loaded the current document.
referrer属性可以返回加载当前文档的上一个URL地址
document.referrer |
<html> <body> 这个页面的来源页面地址为: <script type="text/javascript"> document.write(document.referrer) </script> </body> </html> |
Return the referrer of a document
返回文挡的上一个地址
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
吃惊 | 欠揍 | 支持 | 很棒 | 一般 | 搞笑 | 扯淡 | 不解 |