A Chrome extension for modifying the href / host / domain of the links on a web page

Latest Version

Version
0.0.4
Update
November 17, 2022
Size
123KiB
Developer
costbell.com
Category
Users
201
Rating
4 ★
Manifest Version
2
Web Store Status
Languages Support
English (United States)
See more
Permissions
ActiveTab
Storage
See more

Modify href Extension

This simple extension does one simple thing: change the href on your current page

A Chrome extension for modifying the href / host / domain of the links on a web page

This small tool will be extremely helpful when you are hitting your own app host directly while links on your web app should rather point to the other hosts or public domain. It will replace the href in the DOM level so there will be no conflict with the javascript events that you might have on your anchor tags.

How to use:
1. Install the Chrome extension

2. Go to the options page of this extension

3. Enter the old href that you want to be replaced (e.g. abc.com, abc.com/xyz)

4. Enter the new href that you want to use (e.g. cba.com, cba.com/zyx)

5. Load your page

6. Click the extension icon!
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "Modify href", "description": "A Chrome extension for modifying the href / host / domain of the links on a web page", "version": "0.0.4", "options_page": "/src/options/options.html", "browser_action": { "default_icon": "/images/off48.png", "default_title": "Click to modify!" }, "permissions": [ "activeTab", "storage" ], "content_security_policy": "script-src 'self' https://ssl.google-analytics.com; object-src 'self'", "background": { "scripts": [ "/src/background.js" ], "persistent": false }, "icons": { "16": "/images/off16.png", "32": "/images/off32.png", "48": "/images/off48.png", "64": "/images/off64.png", "128": "/images/off128.png" }, "author": "Chang Liu"}
Read more

How to download and manually install Modify href extension for Chrome

Looking for a way to install Modify href 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 Modify href extensions manually, this article outlines two simple methods to effortlessly install Modify href extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Modify href extension and manually install through Drag &Drop

If you ever need to manually install a Modify href 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 Modify href Extension by clicking the "Download CRX" button on the website.

Look for the Modify href extension you wish to install. Go to the website and download the Modify href extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Modify href 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 Modify href 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 Modify href extension for Chrome and install in Developer Mode

This is another method to install Modify href 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 Modify href extension file

Select and download the Modify href 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 Modify href 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 Modify href 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 Modify href 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 Modify href extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

User reviews

icon

github workflow (ID: 0000000602237321) Voted 5 ★ - Updated 05/19/2023 Super useful. Thank you Chang Lui!

icon

Nick F (ID: 000000a367c917c7) Voted 5 ★ - Updated 09/10/2021 Thanks for the link to the source code! I found exactly what I was looking for to add to my own extension :)

icon

Hakkı Konu (ID: 0000002bbbf48c00) Voted 1 ★ - Updated 07/11/2019 Not working.

icon

Kelly Huyen (ID: 000000b9a9d646d2) Voted 5 ★ - Updated 03/15/2018 please add an option to make it work without clicking the icon

icon

norio norio (ID: 0000002d31c8762b) Voted 1 ★ - Updated 01/07/2017 not worked