Replace your target link with what you want

Latest Version

Version
1.1
Update
July 9, 2017
Size
4.45MiB
Developer
Category
Users
827
Rating
3.91667 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
ContextMenus
Tabs
Storage
ActiveTab
See more

URL Replacement Extension

The main idea is from Sitecore CMS.

When I was working on Content Editor in creating new page items or updating published pages, I sometimes need to compare the item to current live page to see how current live page looks like. In this case, I would open a new tab or window and manually type “http(s)://www.mysite2.com/Finance/Market_News” in Address Bar because its database-driven item path is “/sitecore/content/Site2/Finance/Market_News” in Sitecore.

I was looking for a better way to reduce a few seconds and thinking that “Okay, let’s create a command which is getting item’s path by Item ID and replace prefix (“/sitecore/content/Site2/”) with site domain (http://www.mysite2.com/). This command would be used in a new ribbon in Content editor and xEditor (Page Editor).” In addition to this, there is a way to change the target DB to “Web” DB instead of “Master” when user clicks “Preview”.

However, until Sitecore Administrator or/and .Net developers add this feature, Sitecore end-users who have access to Content Editor would not have any chance to open live page directly from Content Editor. This, my own concern, made me think of creating a Chrome Extension so that any user can use shortcut without asking new feature to their agents or vendors. Even the main idea was from Sitecore, this extension can be used in any web page.

======= Version 1.1 =======
- Enable Incognito mode
- Minimize the size of package
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx","manifest_version": 2,"name": "URL Replacement","version": "1.1","options_page": "configuration.html", "description": "Replace your target link with what you want", "short_name": "URL Replacement","incognito": "split","content_scripts": [{"matches": [""],"js": ["js/jquery-3.1.0.min.js"]}],"icons" : { "16" : "img/icon_arrow3.png", "128" : "img/icon_arrow3.png"},"browser_action": {"default_icon": "img/icon_arrow3.png","16": "img/icon_arrow3.png", "default_title": "URL Replacement", "default_popup": "popup.html"},"permissions": ["contextMenus","tabs","storage", "activeTab"],"background": {"scripts": ["js/content.js"]} }
Read more

How to download and manually install URL Replacement extension for Chrome

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

Method 1: Download URL Replacement extension and manually install through Drag &Drop

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

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

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

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

Similar Extensions

User reviews

icon

Lorenzo P (ID: 000000c16ce098ff) Voted 1 ★ - Updated 07/24/2023 I tried it for the "Images" link in Google, in incognito with incognito access enabled for the extension, but it didn't work. Manually changing the link works fine so the extension is the problem. It was supposed to turn off safe search (permanently through your extension), by changing https://www.google.nl/imghp?hl=nl&ogbl to https://www.google.nl/imghp?hl=nl&ogbl&safe=off

icon

Reto Egeter (ID: 000000f0baeaef49) Voted 4 ★ - Updated 06/21/2022 Works well but I wish we could disable URL check. I am getting a lot of "Replaced URL, but it looks like a wrong webpage URL." Because I got other chrome plugins that allow shortcode URL's that look illegal such as go/mylink/myparam

icon

Luca Caspari (ID: 000000222f29440b) Voted 5 ★ - Updated 12/14/2021 Extension is great for server rendered files, can you make this open source so I can maybe add a feature to support a delay on the url replacement for .js framework support?

icon

Software Guru (Guru Bee) (ID: 000000434f1deb6b) Voted 5 ★ - Updated 10/10/2017 Really a great help for processing links, would really love a short cut key to be added for the replacement to work on left mouse click. like ctrl+left mouse click opens a new tab.

icon

Greg Moore (ID: 0000003dc9295f81) Voted 5 ★ - Updated 08/10/2016 This is super helpful to my daily work within Sitecore.