Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
HTML: Geo Redirection Script using MaxMind's GeoIP API

Geo Redirection Script using GeoIP API JS

NOTICE: Moved to Git Repo with another version. Will keep it updated there!

@jdcauley

This comment has been minimized.

Copy link

commented Sep 25, 2013

I deleted my comment as I was completely wrong. I just hadn't registered my url with maxmind.

@coliff

This comment has been minimized.

Copy link

commented Mar 3, 2014

Hi @irazasyed FYI - the script URL has since changed and is now:
//js.maxmind.com/js/country.js

Ref: http://dev.maxmind.com/geoip/legacy/javascript/

@irazasyed

This comment has been minimized.

Copy link
Owner Author

commented Mar 23, 2014

@coliff Hi, Thanks for the info. It seems like it requires user to register their domain to use their service!

Edit: I've updated with another URL which does not require the user to register. Tested and optimised the code as well.

@irazasyed

This comment has been minimized.

Copy link
Owner Author

commented Mar 29, 2014

Update: Moved to Git Repo with another version. Will keep it updated there!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.