Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with freegeoip #62

Closed
santacruz69 opened this issue Mar 5, 2018 · 4 comments
Closed

Problem with freegeoip #62

santacruz69 opened this issue Mar 5, 2018 · 4 comments

Comments

@santacruz69
Copy link

The request to https://freegeoip.io/json/ is in error : canceled.
This error can be view on the demo site https://cookie-bar.eu/

@DaveLampton
Copy link

DaveLampton commented Mar 29, 2018

freegeoip.io is offline, so here is a workaround to make cookieBAR skip the GeoLocation and just run all the time, regardless of location.

Find this in the minified JS:
if(u("noGeoIp"))T=!0,e();else{var L=new XMLHttpRequest;L.open("GET","//freegeoip.io/json/",!0)

And replace it with this:
if(true)T=!0,e();else{var L=new XMLHttpRequest;L.open("GET","//freegeoip.io/json/",!0)

@DaveLampton
Copy link

Oh... I just noticed there's also a "configurator" at cookie-bar.eu that allows you to disable the GeoLocation, and make other customizations as well.

@kennerty
Copy link

You can just change freegeoip.io to freegeoip.net

@ToX82
Copy link
Owner

ToX82 commented Mar 30, 2018

I've switched to freegeoip.net!

@ToX82 ToX82 closed this as completed Mar 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants