Swap the root domain for localhost on your active tab.
Local Host Hot Swap Extension
Swap your current url to => localhost or localhost with a port number. The extension will remember your last entered port number.
Read more
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Local Host Hot Swap", "version": "0.0.1", "description": "Swap the root domain for localhost on your active tab.", "manifest_version": 3, "icons": { "16": "/icons/icon-16.png", "32": "/icons/icon-32.png" }, "action": { "default_title": "Local Host Hot Swap", "default_popup": "popup.html", "default_icon": "/icons/icon-32.png" }, "permissions": ["activeTab", "tabs"]}
Read more