Browser Extensions disable the JavaScript to get Client IP Address

I am using an external API and part of the parameter of the API is an IP address. I looked up how to do it and I used the ipify version in this answer because it has no limitations:

$.getJSON('', function(data) {

  retrieved_entity_ip = data.ip.toString();
<script src=""></script>

The problem is some extensions, uBlock Origin for example, have prevented the script from retrieving IP addresses. Is there a more robust and reliable way to do this without having to do any upgrades onto paid tiers?

Read more here:

Content Attribution

This content was originally published by Amma change this at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: