How To: Check When a Website Was Last Modified Using Alert



Updated April 2024: Stop getting error messages and slow down your system with our optimization tool. Get it now at this link
  1. Download and install the repair tool here.
  2. Let it scan your computer.
  3. The tool will then repair your computer.

Each article published publicly on the Internet has a date of publication and last update. In addition to these two dates, the search results also display an indexed date. Whether you are a webmaster or a user, you sometimes need one of these dates for different purposes, for example to quote or link your site or to check its content.

How can I find the most recent update date of a web page?

Use the JavaScript command to display the date of the last modification

To get the date of the last update of a page you are on, simply type the following command in the address bar of your browser and press Enter or select the Go button:

javascript:alert(document.lastModified)

A JavaScript alert window opens indicating the date and time of the last modification of the page.

For Chrome browser users and others, if you cut the command and paste it into the address bar, note that the “javascript:” part will be removed. This does not mean that you cannot use the command. All you have to do is type this bit in the command in the address bar.



April 2024 Update:

You can now prevent PC problems by using this tool, such as protecting you against file loss and malware. Additionally it is a great way to optimize your computer for maximum performance. The program fixes common errors that might occur on Windows systems with ease - no need for hours of troubleshooting when you have the perfect solution at your fingertips:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.

download



Perform a Google search

  1. Open the web page for which you want the date of the last modification.
  2. Copy everything after the last slash.
  3. Paste what you have just copied into a Google search or the Omnibox at the top of your browser, then press Enter.
  4. At the top of your search results, you should see the date the page was last modified or updated.

Display of the date of the last modification using a plug-in or a web browser add-on

There are browser plugins that specify the date when a web page was last modified, but this method does not always work. This is done by analyzing the “Last modification” command in the web server header, but not all web servers will provide this information when you visit a page. At the time of writing, many browser plugins I’ve been looking for (at least for Firefox) that use this method seem to be broken – most likely for the reasons I just mentioned. Everyone is invited to get involved with a plugin they are using – if it is reliable.

Using Wayback Machine

Enter the page address in the Wayback Machine and look at the list of results. You can use the results to get a general idea of the content update, although most websites are not indexed regularly, so you cannot get an exact date; moreover, some websites are not indexed at all by the Wayback Machine for various reasons, ranging from the site owner to the exclusion request to how the site was created.

CONCLUSION

In practice, web pages are very often created dynamically from a content management system or other, and in this case, the last modified header usually displays a data buffer to create the response, which is usually very close to the time of the request. This means that the header is practically useless in such cases.

Even with a “static” page (the server simply takes a file that matches the request and sends it), the date of the last change usually only displays the last write access to the file on the server. This may be a time when the file was restored from a backup copy, or a time when the file was modified on the server without changing its content, or a time when it was uploaded to the server, possibly replacing an old identical copy. In these cases, assuming that the timestamp is technically correct, it indicates a time after which the page has not been modified (but not necessarily the time of the last modification).

https://stackoverflow.com/questions/23644436/how-do-i-find-when-a-web-page-was-last-updated



Expert Tip: This repair tool scans the repositories and replaces corrupt or missing files if none of these methods have worked. It works well in most cases where the problem is due to system corruption. This tool will also optimize your system to maximize performance. It can be downloaded by Clicking Here