On mac look for google chrome cache location-
Sample:
/Users/{user}/Library/Caches/Google/Chrome/Default/Cache
Then grep -> grep lblRecoveryAppID *
It will list all cached application ids
If you closed the browser and forgot to save the Application ID number and you have finish it, is close to impossible to recover but I was able to do it as follows.
The Website doesn’t allow anymore to click on forgot application ID, this is what I did, I was using Chrome, for other browser find out yourself based on this steps:
1-Enable browsing offline (not necessary, maybe useful in the future)
go to chrome://flags/#show-saved-copy select enable secondary
2-Go to browse cache
open a tab chrome://cache/
I was able to find it in this URL
https://ceac.state.gov/GenNIV/General/complete/complete_uscontact.aspx?node=USContact
but it can be in other URL as well. search in the text for the word lblRecoveryAppID it will be located right after
right here
The Consular Electronic Application Center gives instructions on how to retrieve a DS-160 application, either by using the Application ID or, if you ‘forgot your application id,’ to do so by answering your security questions.
Update Since the above no longer work below are few ways you could retrieve the application id from the chrome cache.
Note: I tried only on Mac, will update if I could find something similar to windows.
Open Terminal and
cd /Users/<user>/Library/Caches/Google/Chrome/Profile 2/Cache
grep -Ri "APPLICATION ID" .
vim <the first file>
Search for "Application ID" using /Application ID
You should be able to retrieve the Id from the cache.
Credit:stackoverflow.com‘