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

Latest Version

Version
0.0.0.2
Update
August 11, 2023
Size
2.45MiB
Developer
Category
Users
49
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
ContextMenus
ClipboardWrite
ActiveTab
Scripting
Storage
See more

Clipboard Text Replacer Extension

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
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Clipboard Text Replacer", "description": "Clipboard Text Replacer is a Chrome extension that lets users set rules for replacing selections and links", "version": "0.0.0.2", "manifest_version": 3, "action": { "default_popup": "hello.html", "default_icon": "./icons/icon_16.png" }, "icons": { "16": "./icons/icon_16.png", "32": "./icons/icon_32.png", "128": "./icons/icon_128.png" }, "permissions": ["contextMenus", "clipboardWrite", "activeTab", "scripting", "storage"], "background": { "service_worker": "scripts/background.js" }, "options_page": "options.html"}
Read more

Similar Extensions