Country Flags & IP WHOIS Displays a country flag depicting the location of the current website's server
Support Development
PayPal ● 
Bitcoin Address: bc1qh7juzrxrawpr65elm4qs285m5rdhnhgsn7h2jf
 ● 
Lightning Address: [email protected]
Your Input Matters
Review
Advertisement
Screenshot
The "Country Flags & IP Whois" extension places an action button on the Chromium browser and an address bar button on the Firefox browser, which displays an icon of the location of the website's server based on its IP address. This extension includes a built-in table that converts the IP address into a country flag without resorting to external servers. Additionally, the extension provides various IP/host-related features in the right-click context menu, such as copying the IP address, checking the SSL certificate, checking for viruses, and shortening the URL.

Features

FAQs

  1. What is "Country Flags & IP Whois" extension and how does it work?

    Chrome browsers will have a new toolbar button, and Firefox will have an additional icon in the address bar after installing this extension. The icon shows the flag of the web server's current location, which can be useful in determining the server's actual location and identifying potentially harmful websites. Furthermore, clicking on the toolbar provides additional information based on the server's IP address.

  2. Is it possible to have host IP address and flag icon inside web-pages instead of the action button?

    Try my "IP Server" extension:

  3. [Firefox only][deprecated] What should I do if the flag icon does not appear in the toolbar after installing the extension?

    You may need to refresh the tabs to ensure the extension fetches the server's IP address and converts it into the correct flags.

  4. Does this extension use an external service to resolve the IP information?

    No, as it is slow to retrieve IP information from an external service. The extension has a lightweight database that can convert any IP address to its corresponding ISO country code. This internal database has been highly optimized and compressed to ensure the extension is as lightweight as possible. Therefore, there is no external resource involved in the IP resolution process. If you need to get more information, click on the toolbar to be directed to the detail page.

  5. Is it possible to modify the position of the toolbar/address bar icon?

    In Chrome, the icon is inserted as a toolbar button, and its location can be changed by holding down the button and moving the mouse cursor (you need to pin it to the toolbar first by pressing the extension button on the toolbar area). However, in Firefox, the icon is positioned within the address bar, and its position is decided by Firefox and cannot be altered at the moment.

  6. What's new in this version?

    Please check the Logs section.

  7. When using a SOCKS proxy in my browser, the "Country Flags & IP Whois" extension displays the local network icon. Is there a way to show the correct flag by displaying the correct server's IP address in this network mode?

    The extension offers the option to use the OS-level DNS resolver to locate the actual IP address of servers if the browser reports a local IP address, such as when a SOCKS server is in the middle of the connection (starting from version 0.1.5). To utilize the native DNS resolver, a minimal native client application must be installed because the extension cannot connect to the native side without this helper utility.

  8. Which networking features does this extension offer?

    This extension provides two types of networking utilities: those accessed by left-clicking the action button and those accessed by right-clicking it.

    The IP and hostname tool is accessible by left-clicking the button and offers extensive information about the IP address or hostname, covering almost all relevant details. It is important to note that the IP tool takes precedence over the hostname tool, and is used whenever possible. If the current tab's IP address cannot be resolved or an error occurs during resolution, the hostname tool is used instead.

    On the right-click over the action button, there are 8 default tools:

    • SSL Checker: Check SSL certificate
    • Traceroute: Display the route and transit delays of packets
    • Ping: Test the reachability of this IP address
    • TinyURL: Shorten the URL using TinyURL.com
    • DNS Lookup: Perform an authoritative DNS lookup
    • Whois Lookup: Find the registration and delegation of a domain name
    • HTTP Headers: List all the response HTTP headers
    • Alexa: Website traffic, statistics and analytics
    • WOT Scorecard: Website reputation ratings
    • Virustotal: A free virus, malware and URL scanning service
    • Check Server Status: Helps finding whether a website is down or not
    • Google Translate: Free service instantly translates words, phrases, and web pages
    • Google Cache: Google cached pages for any web site
    • Wikipedia: Domain search
    • intoDNS: Checks the health and configuration of DNS and mail servers
    • Netcraft: Provides internet security services including anti-fraud and anti-phishing services
    • Wave Report: Provides web accessibility solutions
    • Validate.nu: HTML5 Validator
    • W3C CSS Validator: CSS Validator
    • W3C Validator: HTML5 Validator
    • Internet Archive: Free universal access to archived web pages
    • Google: Search by domain
    • Wolfram|Alpha : Access to the world's facts and data
    • Copy IP: Copy IP address to the clipboard

    You can define two more custom context menu items as well. Note that there are three keywords that can be placed in the URL ([ip], [host], [enurl], [curl], and [url]). These keywords are replaced with the current tab equivalents when applicable. Also, note that you can have a maximum of 6 tools in the right-click context menu (This is a limitation in WebExtension context and there is no workaround for it).

  9. Is it possible to have the extension open new tabs in the background?

    The extension includes a feature that enables you to request links to be opened in the background starting from version 0.2.0. Additionally, you can request links to be opened next to the current tab.

  10. What are the supported keywords and what are the definitions?

    Here is the list of all the supported keywords that are being replaced by the extension:

    • [lang]: browser language code (e.g.: en-US, ro, de)
    • [url]: actual URL
    • [enurl]: encodes URL with encodeURIComponent
    • [host]: hostname
    • [curl]: Clean URL. URLs without any parameters
    • [ip]: IP address of the server

  11. Is it possible to adjust the position of the flag icon in the "Server IP" extension? Sometimes, the flag hides the page's content.

    You can move the flag's icon by dragging it to a new location starting from version 0.1.7. Please move the flag slowly to ensure accurate placement. Once repositioned, the flag's new x and y coordinates become permanent, and all subsequent flag insertions occur in this new location.

  12. What does the "c" badge text on the action button of the "Country Flags" extension indicate?

    Occasionally, the browser fails to connect to the remote server to display the top-frame element. This can occur when a service worker, such as the one used by "https://twitter.com/", caches resources and loads content from the cache whenever a new tab is opened. When the "Country Flags" extension is unable to resolve an IP address during top-level DOM navigation, it displays a "c" badge text on the action button. This feature can be disabled from the options page. To obtain additional information about IP resolution, hover the mouse over the action button.

    • "IP": Connection to the remote server resolved the IP address.
    • "database": Same as the "IP" method, but since the IP is already known, there is no need to find the flag from the IP address. This mostly happens when you reload the page or a new page on the same hostname is loaded.
    • "xDNS:navigation:resolved": Since the top frame navigation does not return the IP address, fake navigation is used to detect the IP address.
    • "xDNS:navigation:rejected": Same as the "xDNS:navigation:resolved" method, but the faked navigation also did not resolve the IP.
    • "xDNS:existing:resolved": When the extension starts, the tab has already been loaded, so a faked navigation is used to detect the IP address.
    • "xDNS:existing:rejected": Same as the "xDNS:existing:resolved" method, but it was not successful.

  13. Can I use this extension to resolve a hostname from an IP address and display the result?

    Yes, you can use this extension to execute an external command and display the output in the tooltip of the action button. To find hostnames associated with an IP address, a reliable method is to use NodeJS. Here's an example code that demonstrates how to achieve this:

    const dns = require('dns');
    
    const ip = process.argv[2];
    
    new Promise(resolve => {
      dns.reverse(ip, (e, hostnames) => resolve(e ? e.code : hostnames.map(s => 'hostname: ' + s).join('
    ')));
    }).then(s => console.log(s));
    To configure the extension to use the provided code, follow these steps:

    1. Save the code in a text file named "ip.js".
    2. Specify the path to the "ip.js" file in the extension's native command section.
    3. Ensure that the extension has permission to run native commands. Enable the option "Use the native DNS resolver of your OS (restart required)" once (you can uncheck it later).

Matched Content

Preview

Reviews

Please keep reviews clean, avoid improper language, and do not post any personal information. Also, please consider sharing your valuable input on the official store.

What's new in this version

Version--
Published--/--/--
Change Logs:
    Last 10 commits on GitHub
    Hover over a node to see more details

    Need help?

    If you have questions about the extension, or ideas on how to improve it, please post them on the  support site. Don't forget to search through the bug reports first as most likely your question/bug report has already been reported or there is a workaround posted for it.

    Open IssuesIssuesForks

    Editorial Review

    Are you worried that the website you visit is safe or not? With the advancement in technology, there has been an increase in the number of malicious websites. This poses a threat to your security and personal information. The best solution to keep your information safe and enhance your internet browsing experience, you can download an extension. With so many choices in security extensions, not all of them provide the same level of safety as Country Flags and IP Whois. Here is the detailed review of this extension.

    Country Flags and IP Whois is a useful extension that will help you safely browse through the internet. When you download this extension, a button is added to the toolbar with the information about the location of the server of the website. This detail is collected from the responding server’s IP address. One of the best features of this extension is that it has a built-in table that is able to convert the IP address into the country flag locally. This extension enables the user to know about all the website’s server location. Another feature of the Country Flags & IP Whois is that it works on most of the browsers including Chrome, Opera, and Firefox. It is an excellent way to determine where exactly the website’s server is located. This is a great way to figure out which website is safe and which is malicious. You can get more information about the Whois from the toolbar. Additionally, this extension will also provide the geolocation. This will help you know about the legal jurisdiction that may be applicable to you. Along with this, it can even let you the identify the native language. Furthermore, there are two kinds of network abilities available in this extension. By left click, you will get all the information related to the hostname and IP. On the other hand, through the right-click, you can have access to a wide range of options including SSL Checker, Ping, WHOIS lookup, DNS lookup, Traceroute, and Tiny URL. The delegation and registration of the domain name are provided by Whois lookup. Another great feature of this extension is that it is safe and doesn’t use any external service for IP to country conversions. The database of the extension is compact and compressed. This makes the information light in weight. It is capable of converting the IP address to country code. Hence, there is no external source used for collecting the information. One of the limitations of this extension is that it restricts the number of maximum tools to 6 in the right-click menu. A great thing about this extension is that it is customizable. You can move the icon by holding the button and moving the cursor to the new location of the toolbar (Chrome users only). For Firefox browser, the location of the extension in the address bar can be configured from customization panel.

    Permissions are explained

    PermissionDescription
    storageTo store extension's local preferences
    tabsTo search through open tabs and create new ones
    webNavigationTo detect page commits (to detect when a new page is loaded in a browser tab)
    webRequestTo find IP address of the top level domain
    <all_urls>This is to allow 'webRequest' to have access to the top level domains
    contextMenusTo create context-menu items for the pageAction button
    notificationsTo display error messages
    nativeMessagingTo allow communication with the NodeJS native client (only if native DNS resolver is checked in the options page)
    downloadsTo allow the extension to download the native client (only if native DNS resolver is checked in the options page)
    clipboardWriteTo allow the extension to copy IP address to the clipboard (a right-click item over the toolbar button)

    Recent Blog Posts