SmartProxy icon indicating copy to clipboard operation
SmartProxy copied to clipboard

Display country flag beside subscribed proxies

Open salarcode opened this issue 8 years ago • 9 comments

Display country flag beside the proxies that are loaded from subscriptions. Since this can cause some pauses with long lists, I'm not going to do this until there is high demand for it.

salarcode avatar Sep 09 '17 10:09 salarcode

Anyone knows a free/open service the returns an image for a given IP address please share here, thanks. A service that for a given IP returns country code or image, either is fine: https://service/iplocation?ip=[ip-address-or-host]

salarcode avatar Jan 24 '20 03:01 salarcode

@salarcode https://github.com/lipis/flag-icon-css

zero77 avatar Jan 26 '20 22:01 zero77

Not usable; a service needed that returns either country code or image, e.g.: https://service/iplocation?ip=[ip-address-or-host]

Cannot use any other methods in extension.

salarcode avatar Jan 29 '20 04:01 salarcode

Country code resolution is added in https://github.com/salarcode/SmartProxy/tree/country-code branch. Current issues:

  • The flags can't be displayed because Html dtopdown items doesn't support Html tags inside them.
  • Emoji flags can't be used because not all platforms support them (e.g. Windows)
  • Proxies dropdown can't replaced with a custom one; the effect of having a long list of proxies (because of proxy subscriptions) should be studied before using a custom dropdown.

salarcode avatar Mar 17 '20 04:03 salarcode

@salarcode is it possible to use temporary fix like 3 character county code?

kai3341 avatar Feb 18 '21 13:02 kai3341