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

javascript api code sample fails in firefox #78

Open
youstupidgithub opened this issue Sep 24, 2024 · 0 comments
Open

javascript api code sample fails in firefox #78

youstupidgithub opened this issue Sep 24, 2024 · 0 comments

Comments

@youstupidgithub
Copy link

youstupidgithub commented Sep 24, 2024

re: the javascript code sample on the ipify home page:

<script` type="application/javascript">
  function getIP(json) {
    document.write("My public IP address is: ", json.ip);
  }
</script>

<script type="application/javascript" `src="https://api.ipify.org?format=jsonp&callback=getIP"></script>

that exact code works in edge, chrome, brave, and safari. but i can't get it to generate anything in firefox. (i tested it in firefox on various PCs and i verified that javascript is enabled in the test firefox browsers.) it doesn't even output the "My public IP address is:" string; let alone the ip address.

any thoughts? fixes? thank you very much!!!!!

@youstupidgithub youstupidgithub changed the title javascript api sample fails in firefox javascript api code sample fails in firefox Sep 24, 2024
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

1 participant