Automatically redirect http://localhost to your internal IP
localhost2ip Extension
Type http://localhost in the browser url bar and it will automatically redirect to your internal ip (ipv4).
在浏览器地址栏中键入http://localhost,它将自动重定向到您的内部ip(ipv4)。
Read more
在浏览器地址栏中键入http://localhost,它将自动重定向到您的内部ip(ipv4)。
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "localhost2ip", "version": "1.3.1", "manifest_version": 3, "description": "Automatically redirect http://localhost to your internal IP", "icons": { "16": "icons/icon16.png", "48": "icons/icon48.png", "128": "icons/icon128.png" }, "homepage_url": "https://github.com/navhu/localhost2ip", "offline_enabled": true, "action": { "default_title": "localhost2ip", "default_icon": { "19": "icons/icon19.png", "38": "icons/icon38.png", "48": "icons/icon48.png" }, "default_popup": "popup.html" }, "content_scripts": [ { "run_at": "document_start", "js": ["inject.js"], "matches": ["http://localhost/*", "http://127.0.0.1/*"] } ], "permissions": ["storage"]}
Read more