Websites/Snippets/Geolocated-Snippets: Difference between revisions

Line 36: Line 36:
# At the prompt (">") type the following and hit return: localStorage['snippets-last-update'] = 0
# At the prompt (">") type the following and hit return: localStorage['snippets-last-update'] = 0
# At the prompt (">") type the following and hit return: localStorage.geoLastUpdated = 0
# At the prompt (">") type the following and hit return: localStorage.geoLastUpdated = 0
# Refresh about:home. You should see a request to snippets.stage.mozilla.com and another request to geo.mozilla.com.  
# Keep the Web Console open and refresh about:home. In the Web Console you should see a request to snippets.stage.mozilla.com and another request to geo.mozilla.com.  
# At the prompt (">") type the following and hit return: localStorage.geoCountry  
# At the prompt (">") type the following and hit return: localStorage.geoCountry  
# You should see a country code derived from your IP address ("US" for United States).
# You should see a country code derived from your IP address ("US" for United States).
Confirmed users
583

edits