Show Site IP of the currently loaded web page in Firefox
I play quite often with /etc/hosts file (well I’m on window so I use C:\WINDOWS\system32\drivers\etc\hosts), or I even switch DNS to our development server using following Windows command (make sure your network connection is called LAN):
# Switch to development DNS
netsh interface ip set dns "LAN" static 192.168.10.10 primary
ipconfig /flushdns
# Switch back to DHCP
netsh interface ip set dns "LAN" source=dhcp
ipconfig /flushdns
All this is done to work with the real domain names already during development – no worry, we do some things by changing the top level domain to .dev, but I simply need both.
Now I need a tool which tells me quickly whether I’m in prod or dev. I was using ShowIP Firefox Extension , but it somehow behaved incorrectly for me – mainly looked like some caching problems.
So I decided to write my own extension which would be dead simple and would simply show me the current IP address of the domain loaded in the current tab. So I wrote it using Mozilla Add-on Builder. It took me less time than to write this post (ok, I have spent 2 years developing AllPeers and some months as Mozilla contractor on Firefox 3).
After installing the AlertIP Extension customize your toolbar and add the star icon (the default icon for extensions) to your toolbar.
The link to the extension is dead:
https://brablc.com/download/siteip.xpi
Thanks for comment. I have swiftly 😉 fixed the path to https://addons.mozilla.org/en-us/firefox/addon/alertip/ .
Ondrej,
Thanks for AlertIP. I just installed it into Pale Moon (Linux Mint VB guest). It will help me to craft Win7 (VB host), superhardened, firewall outbound rules.
One feature request: Kindly consider a ‘Tools’ menu item so I can remove the icon (to streamline the interface).
Warm Regards,
Mark.
I’m afraid this extension is dead. If I will implement it again I would have to do it from scratch using new extension mechanism.
Hello developer, thank you very much for AlertIP!
You may not know this, but Mozilla is planning to remove all XUL add-ons from their site (addons.mozilla.org) in June this year.
Will you please consider supporting the Pale Moon browser? Pale Moon will keep support for XUL, and I’m using it. Since Mozilla will remove the add-ons Pale Moon can use (like AlertIP) we need help. PM has a dedicated add-ons site where developers can upload their add-ons or link to their own homepages. Your extension is not dead, it can have a new life in Pale Moon 🙂 Please consider submitting your add-on using this: developer.palemoon.org/Add-ons:Site/Submit. Here is also a link to PM’s forum: forum.palemoon.org
I’m just a regular user and in no way a part of PM’s team, I’m asking this because I was hoping you could help us.
Sincerely, BlueOwl (this is also my username in the PM forum)
Hello Erika, I do not think this extension was ever very popular, so without knowing if this is going to help more than a handful of users it might not be best use of my time. But thank you for finding time to reach me.