8000 GitHub - ISST-PROJECT-2015/user-location-script: Simple script to locate from which country access your website
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ISST-PROJECT-2015/user-location-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

user-location-script

Simple JavaScript file to locate from which country access your website

How to implement in your web

  1. Download userLocation.js and save it in your lib directory
  2. <li>Include this SCRIPTS in your website HEAD tag</li>
    <pre>
    	&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js" type="text/javascript"/&gt;
    	&lt;script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js" type="text/javascript"/&gt;
    </pre>
    
    <li>Also include <code>userLocation.js</code> file</li>
    
    <li>Append a new element with <code>id = 'ajaxResponse'</code> to your HTML</li>
    <p>The result of the ajax request will be loaded inside that element</p>
    

About

Simple script to locate from which country access your website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0