Greasy Fork

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

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
thelostthing
日安装量
0
总安装量
39
评分
0 0 0
版本
0.3
创建于
2021-12-26
更新于
2021-12-26
大小
2.3 KB
许可证
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.