Greasy Fork is available in English.

V2rayA - Add country flag to Ip or domain

This script will convert ip or domain to country from "Server Address" column on V2rayA's web interface

יוצר
thelostthing
התקנות יומיות
0
סה"כ התקנות
27
דירוגים
0 0 0
גרסה
0.3
נוצר
26-12-2021
עודכן
26-12-2021
רישיון
MIT
חל על

V2rayA - Add country flag to Ip or domain

This script will convert ip or domain to country from Server Address column on V2rayA's web interface (http://127.0.0.1:2017/ or http://localhost:2017/), change @match in code if you changed Address of Service of V2rayA.

The convert service is api.techniknews.net/ipgeo, read below if you wanna know more.

Usage

Search and install Violentmonkey in your browser store, then install this script.

If you are using Tampermonkey, check Always allow domain in A userscript wants to access a cross-origin resource page. There maybe none flag shown normally and you may see Error: Promised response from onMessage listener went out of scope in F12-Console, it's a bug, you may try Tampermonkey beta.

If you are using Greasemonkey, may support in future, sorry.

Privacy

I found this convert service in Github project public-apis, try search IPGEO in that page. No Auth(api key) required and Unlimited free. Can't find much information about provider TechnikNews, you can contact them by Twitter @TechnikNewsNET .

If you can't trust this service provider, you can always change url under GM_xmlhttpRequest in code, response data structure may need change too.