Clipboard Text Replacer

#5 / 3 rate

Clipboard Text Replacer

39 users

2023-08-08

mdl_dev

Extension Information

5 star
100%
4 star
0%
3 star
0%
2 star
0%
1 star
0%

Supported Languages

Permissions

Description

Clipboard Text Replacer is a Chrome extension that lets users set rules for replacing selections and links

Clipboard Text Replacer

This is an open source project, that I created because I needed a quick way to replace certain items in selections and links during my development process. My specific use case, was that I needed to click a lot of links in production, but have them point to my local environment. The example in the extension is that we replace this regex

/^(https?:\/\/(www\.)?[^/]+)/g

with this

localhost:3000

which changes any matching (most valid urls (probably)) to my local environment. Like "https://mywebsite.com/users/1" will turn into "localhost:3000/users/1"

Enjoy!

PS. This is open source and the repo can be found on https://github.com/Voldemorten/clipboard-text-replacer