icp-query-extension

所属分类:网络编程
开发工具:Svelte
文件大小:0KB
下载次数:0
上传日期:2023-08-22 08:37:34
上 传 者sh-1993
说明:  ICP、DNS、Whois和GEO查询的浏览器扩展,
(Browser Extension for ICP、DNS、Whois & GEO Query,)

文件列表:
.prettierrc.cjs (423, 2023-09-02)
LICENSE (1067, 2023-09-02)
assets/ (0, 2023-09-02)
assets/favicon.png (1197, 2023-09-02)
assets/icon-bak.png (79750, 2023-09-02)
assets/icon.png (28397, 2023-09-02)
assets/icon_grey.png (4174, 2023-09-02)
example.env (82, 2023-09-02)
fonts/ (0, 2023-09-02)
fonts/symbol.svg (8265, 2023-09-02)
images/ (0, 2023-09-02)
images/shortcut-02.png (2106, 2023-09-02)
images/shortcut-03.png (3983, 2023-09-02)
images/shortcut-04.png (4764, 2023-09-02)
images/shortcut-05.jpg (38779, 2023-09-02)
images/shortcut-06.png (32995, 2023-09-02)
images/shortcut.png (4953, 2023-09-02)
package.json (982, 2023-09-02)
pnpm-lock.yaml (186446, 2023-09-02)
postcss.config.js (82, 2023-09-02)
src/ (0, 2023-09-02)
src/background.js (814, 2023-09-02)
src/default-data.ts (1613, 2023-09-02)
src/icp-suffix.ts (2447, 2023-09-02)
src/options/ (0, 2023-09-02)
src/options/Options.svelte (2983, 2023-09-02)
src/options/about.svelte (2339, 2023-09-02)
src/options/index.svelte (3144, 2023-09-02)
src/popup/ (0, 2023-09-02)
src/popup/Table.svelte (11359, 2023-09-02)
src/popup/index.svelte (4015, 2023-09-02)
src/popup/loader.svelte (1393, 2023-09-02)
src/popup/warn.svelte (217, 2023-09-02)
src/style.css (59, 2023-09-02)
... ...

Browser Extension for ICP、DNS、Whois & GEO Query

GitHub

[English](https://github.com/yuedanlabs/icp-query-extension/blob/master/README.md) | [简体中文](https://github.com/yuedanlabs/icp-query-extension/blob/master/README.zh-Hans.md) ## Introductions ICP Query Extension is an open source browser extension for: - ICP query - DNS query - Whois query - Server location and ISP lookup ## Install 1. [Chrome Web Store](https://github.com/yuedanlabs/icp-query-extension/blob/master/https://chrome.google.com/webstore/detail/icp-query-extension/plmfnmaihcmijdanpbondfejclejejfa): Install directly from the Chrome Web Store. **Recommend ** 2. [Source Releases](https://github.com/yuedanlabs/icp-query-extension/blob/master/https://github.com/yuedanlabs/icp-query-extension/releases): Download the zip release package for manual installation. 3. Build from source as follows ## Graphic Demo Display the ICP info of current tab's domain, only when you click the extension icon.


(0. Main Page)


(1. Main Page)


(2. Main Page with no API)


(3. Options Page)


(4. Options Page)

## Getting Started - Build the extension from the [source code](https://github.com/yuedanlabs/icp-query-extension/blob/master/https://github.com/yuedanlabs/icp-query-extension.git) 1. Clone this repository to your local machine. ```bash $ git clone https://github.com/yuedanlabs/icp-query-extension.git ``` 2. Build the extension. ```bash $ cd icp-query-extension $ pnpm install $ pnpm run build ``` then you can check the dist files in `build/chrome-mv3-prod` directory, and use it in Chrome. 3. Install the extension. - open `chrome://extensions/` in your Chrome browser. - open the `Developer Mode` in the top right corner. - click the `Load unpacked extension...` button. - select the `icp-query-extension/build/chrome-mv3-prod` folder. - click the `Load` button. - Pin the extension to the `Toolbar`, if needed. - Set the API URL in the `Options` page. 4. Enjoy! ## Sponsors labring/laf ## About the API The API is separate and extensible. Any API that conforms to the following data structure can be applied to this extension: - API URL the api url has a query parameter: - url: the domain name to be queried. for example: - `https://your-domain/release/icp?url=www.baidu.com` - API Response Data - API V2 ```json { "icp": { "subject": { "name": "北京百度网讯科技有限公司", "nature": "企业", "license": "京ICP证030173号", "updateTime": "2023-05-29 08:20:36" }, "website": { "domain": "baidu.com", "license": "京ICP证030173号-1" } }, "whois": { "Domain Status": [ "clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited", "clientTransferProhibited https://icann.org/epp#clientTransferProhibited", "clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited", "serverDeleteProhibited https://icann.org/epp#serverDeleteProhibited", "serverTransferProhibited https://icann.org/epp#serverTransferProhibited", "serverUpdateProhibited https://icann.org/epp#serverUpdateProhibited" ], "Name Server": [ "NS1.BAIDU.COM", "NS2.BAIDU.COM", "NS3.BAIDU.COM", "NS4.BAIDU.COM", "NS7.BAIDU.COM" ], "Created Date": "1999-10-11T11:05:17Z", "Updated Date": "2022-09-01T03:54:43Z", "Expiry Date": "2026-10-11T11:05:17Z", "Registrar": "MarkMonitor Inc." }, "dns": { "A": [ "180.101.50.242", "180.101.50.188" ], "AAAA": [], "CNAME": [ "www.a.shifen.com" ], "NS": [], "GEO": { "isp": "电信", "area": "中国 江苏 南京" } } } ``` - API V1 ```json [ { "subject": { "name": "北京百度网讯科技有限公司", "nature": "企业", "license": "京ICP证030173号", "updateTime": "2023-01-10 09:43:35" }, "website": { "domain": "baidu.com", "license": "京ICP证030173号-1" }, "whois": { "Domain Status": [ "clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited", "clientTransferProhibited https://icann.org/epp#clientTransferProhibited", "clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited", "serverDeleteProhibited https://icann.org/epp#serverDeleteProhibited", "serverTransferProhibited https://icann.org/epp#serverTransferProhibited", "serverUpdateProhibited https://icann.org/epp#serverUpdateProhibited" ], "Name Server": [ "NS1.BAIDU.COM", "NS2.BAIDU.COM", "NS3.BAIDU.COM", "NS4.BAIDU.COM", "NS7.BAIDU.COM" ], "Created Date": "1999-10-11T11:05:17Z", "Updated Date": "2022-09-01T03:54:43Z", "Expiry Date": "2026-10-11T11:05:17Z", "Registrar": "MarkMonitor Inc." }, "dns": { "A": ["110.242.68.66", "39.156.66.10"], "AAAA": [], "CNAME": [], "NS": [ "ns3.baidu.com", "dns.baidu.com", "ns4.baidu.com", "ns7.baidu.com", "ns2.baidu.com" ], "GEO": { "isp": "中国移动", "area": "中国 北京市 北京市" } } } ] ``` ## TODO - [x] whois - [x] DNS - [ ] GongAn Record - [x] GEO & ISP - [ ] Other domains under the same subject - [ ] Options API and custom API ## License [License MIT](https://github.com/yuedanlabs/icp-query-extension/blob/master/LICENSE)

近期下载者

相关文件


收藏者