上次修改日期在网站上的文件 [英] Last Modified Date of a file on a web site
本文介绍了上次修改日期在网站上的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法在网站上获得文件的最后修改日期?
Is there a way to get the Last-Modified-Date of a file on a Web Site?
即,这里是我有一个示例文件:
http://www.ymcadetroit.org/atf/cf/%7B2101903E-A11A-4532-A64D-9D823368A605%7D/Birmingham_Youth_Sports_Parent_Manual.pdf
i.e. Here is an example file I have out there: http://www.ymcadetroit.org/atf/cf/%7B2101903E-A11A-4532-A64D-9D823368A605%7D/Birmingham_Youth_Sports_Parent_Manual.pdf
推荐答案
转到您想要了解的网站,等待它完全加载,然后转到地址栏并输入:
Go to the website you want to know about, wait for it to fully load, then go to the address bar and write this:
javascript:alert(document.lastModified)
您会看到一个弹出窗口,说明上次修改时间。
You'll get a popup that says when it was last modified.
这篇关于上次修改日期在网站上的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文