• Background
    • Awards
    • Biography
    • Resume
  • Blog
    • Articles
    • Cookie Policy
    • Galleries
      • Photo Gallery
      • Video Gallery
    • Glossary
  • Contact
    • Contact
    • Social Networks
  • IT
    • Downloads
      • Windows
    • Equipment
    • Hardware
    • Software
    • Testimonial
    • Information Technology
  • Projects
    • Business Projects
    • HackBook Projects
    • Hackintosh Projects
    • Website Projects
    • More Projects
  • Service Rates
    • Business Rates
    • Residential Rates

Display Your Visitor’s Location

Tuesday, June 25, 2013 Articles, Tips Comments Off on Display Your Visitor’s Location

Do you need help to display you visitor’s location to them like dating sites do? Use my script below which will work for JavaScript users.

Welcome <script src=”http://www.google.com/jsapi” type=”text/javascript”></script><script type=”text/javascript”><!–
if (typeof(google.loader.ClientLocation.address.city) != null) {
document.write(google.loader.ClientLocation.address.city
+”, ”
+google.loader.ClientLocation.address.region);
} else {
document.write(“New York, NY”)
}
// –></script> Visitor

The following two tabs change content below.
  • Bio
  • Latest Posts
facebook-profile-picture
My Twitter profileMy Facebook profileMy LinkedIn profileMy Pinterest profileMy YouTube channel

Stephan Pringle

Chief Executive Officer at Sipylus
About The Author: Stephan Pringle is an Information Technology Specialist. He covers hardware and software and provides tips for you to troubleshoot and repair issues on your own. In his spare time, he writes articles about the State of New York on his Hackintosh and HackBook and that has helped him to become the top contributor of the New York City section of Yahoo! Answers.
facebook-profile-picture
My Twitter profileMy Facebook profileMy LinkedIn profileMy Pinterest profileMy YouTube channel

Latest posts by Stephan Pringle (see all)

  • The New Microsoft Edge is Old - Friday, January 15, 2021

Related posts:

  1. Screen Resolution
  2. Search Box in Google Results
  3. Say Farewell to Orkut
  4. IFrame Killer
  5. Fake Referral Spam
  6. AdsPart.com
  7. Traffic Estimations
  8. AntiCrawler.org
  9. Redirect Visitors by IP Address
  10. Font Size in Banner Navigation
  11. Block Dragging of Images
  12. Block Highlighting of Text
  13. Window Size in Banner Navigation
  14. addineyeV2.html
  15. On-Screen Display
  16. Text Alerts
  17. File Formats for Scanned Documents
  18. Google Voice
  19. AdSense’s 10th Anniversary
  20. Lines While Printing and Scanning

Comments are closed.




Copyright © 1990-2020 Stephan Pringle. All rights reserved.

Stephan Pringle

IT Technical Support Specialist

  • Keyword Search

  • Translator

  • Topic Sponsor

I am always working to improve your experience on my website. Part of this involves using cookies to collect anonymous data for statistics and personalization. Learn more