Need Javascript Guru To Complete Geo Redirection Script

Please check the attached file, it has the javascript which is currently being used for redirection. Following is the specs and what is required from this project:

1] The country code which is recieved from geoip_country_code() needs to be stored in a cookie.
2] Before the redirection runs the script should check if a cookie exists. If cookie exists it should redirect to the address stored in the cookie and not run the redirection script. If the cookie does not exist then it should run the redirection script and store the country code and redirection url in a cookie. The cookie should have validity for 365 days.
3] Also a dropdown must be created with the country names. After redirection from the redirection script if the visitor manually selects a different country the original cookie should be replaced with a new cookie with the user selected country code and redirection url should be stored.
4] Next Mod: eg. If a user from “US” is visiting a “UK” or “AU” site for the first time with no cookie stored he should get a modal window prompt informing to select “US” or go ahead to “UK”/”AU”. This applies to other country sites as well.

For any questions please feel free to PM me. It is a simple job and I have a budget of $10 – $20. Please bid only if you can complete it exactly as per the specs. Innovations are welcome and you have complete freedom to experiment with the script till the desired results are obtained. Payment will given only after the script functions properly and is according to the specs. Please mention “JSGURU” along with your bid for it to be considered. Need it done with 3 – 4 days. If you are able to create the script according to specs and demo it from your server and it works perfectly I will prefer to select you and make an instant payment and you may send over the script. You should also be open to revisions till what is acceptable is obtained. Thank you and Happy bidding.

Leave a Reply

Your email address will not be published. Required fields are marked *