前端开发网页localhost与本地ip互转

Latest Version

Version
0.0.2
Update
October 26, 2023
Size
101KiB
Developer
wflynn.cn
Category
Users
8
Rating
0 ★
Manifest Version
3
Web Store Status
Languages Support
中文 (简体)
See more
Permissions
Tabs
Scripting
See more

localhost与本机ip互转 Extension

localhost与本地ip互转,前端开发在启动本地开发环境时如react,通常默认打开的是loacalhost:8080/,但是我们有时候需要本地ip,使用此工具可以实现 localhost 快速切换为本地ip,首次使用时需要将谷歌配置项 enable-webrtc-hide-local-ips-with-mdns 配置为 false
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "localhost\u4e0e\u672c\u673aip\u4e92\u8f6c", "version": "0.0.2", "action": { "default_popup": "./index.html", "default_icon": { "16": "./assets/img/icon-16.png", "32": "./assets/img/icon-32.png", "64": "./assets/img/icon-64.png", "128": "./assets/img/icon-128.png" } }, "background": { "service_worker": "background.js" }, "icons": { "16": "./assets/img/icon-16.png", "32": "./assets/img/icon-32.png", "64": "./assets/img/icon-64.png", "128": "./assets/img/icon-128.png" }, "permissions": [ "tabs", "scripting" ], "host_permissions": [ "*://*/*" ], "content_security_policy": { "extension_pages": "script-src 'self' http://localhost:8890; object-src 'self'" }, "description": "\u524d\u7aef\u5f00\u53d1\u7f51\u9875localhost\u4e0e\u672c\u5730ip\u4e92\u8f6c"}
Read more

How to download and manually install localhost与本机ip互转 extension for Chrome

Looking for a way to install localhost与本机ip互转 extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install localhost与本机ip互转 extensions manually, this article outlines two simple methods to effortlessly install localhost与本机ip互转 extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download localhost与本机ip互转 extension and manually install through Drag &Drop

If you ever need to manually install a localhost与本机ip互转 extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the localhost与本机ip互转 Extension by clicking the "Download CRX" button on the website.

Look for the localhost与本机ip互转 extension you wish to install. Go to the website and download the localhost与本机ip互转 extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for localhost与本机ip互转 extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the localhost与本机ip互转 extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download localhost与本机ip互转 extension for Chrome and install in Developer Mode

This is another method to install localhost与本机ip互转 extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the localhost与本机ip互转 extension file

Select and download the localhost与本机ip互转 extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the localhost与本机ip互转 extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your localhost与本机ip互转 extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the localhost与本机ip互转 extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install localhost与本机ip互转 extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Netify Extension · Developer Tools 8 40 ★ 1.24MiB

icon

LiveHosts Extension · Developer Tools 8 40 ★ 57.78KiB

icon

OMICall Extension · Productivity 8 2 ★ 475KiB

icon

Website IP Extension · Developer Tools 8 3 ★ 36.68KiB

icon

Website IP Extension · Developer Tools 8 207 ★ 55.45KiB

icon

OkayVPN Extension · Productivity 8 2 ★ 612KiB

icon

Server IP Extension · Productivity 8 7 ★ 3.31MiB

icon

IP Location Lookup Extension · Developer Tools 8 4 ★ 72.94KiB

icon

ReqBin HTTP Client Extension · Developer Tools 8 17 ★ 179KiB

icon

Copy cookies to localhost Extension · Developer Tools 8 3 ★ 14.67KiB

icon

Website Server IP - Supports IPv6,Copy,Hide Extension · Developer Tools 8 2 ★ 94.52KiB

icon

IPRoyal Proxy Manager Extension · Developer Tools 8 36 ★ 110KiB

icon

Rempl Extension · Developer Tools 8 6 ★ 21.87KiB

icon

Show IP Extension · Developer Tools 8 1 ★ 13.69KiB

icon

WebRTC Leak Shield Extension · Social & Communication 8 197 ★ 463KiB

icon

Localhost Cookie Sync Extension · Developer Tools 8 4 ★ 22.04KiB

icon

Quick Javascript Switcher v3 Extension · Developer Tools 8 0 ★ 12.29KiB

icon

Localhost HTTPS -> HTTP Extension · Developer Tools 8 2 ★ 30.72KiB

icon

Override Homepage Extension · Productivity 8 0 ★ 50.61KiB

icon

Show IP – Live View of Website IPs for Developers Extension · Developer Tools 8 1 ★ 49.02KiB

icon

cross domain - 本地跨域工具 Extension · Developer Tools 8 4 ★ 1.34MiB

icon

QuickIP Extension · Developer Tools 8 0 ★ 57.84KiB

icon

dns-killer Extension · Developer Tools 8 0 ★ 56.64KiB

icon

Local File Server Extension · Productivity 8 0 ★ 14.3KiB