Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

don-patterson/url-toggle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Archival Notice

This repo is unmaintained and pretty niche. This idea worked ok for a very specific work environment that had related views of the same data, and shared URL portions. I'll leave the code up for reference in case you want to tinker with Chrome extensions, however that landscape keeps evolving and I don't have the time to maintain this. Feel free to fork and take over!

URL Toggle

Description

This Chrome extension lets you store a list of regular expression patterns and replacements so you can quickly switch to a related site when a match is detected.

For example, if you have the following pattern and replacement:

pattern:     "https://(.+?)\.github\.io\/(.+?)\/.*"
replacement: "https://github.com/$1/$2/"

Then when you are on a hosted Github Pages site, this icon will become enabled and let you navigate to the corresponding GitHub repository with one click. You can add as many patterns and replacements as you like.

Privacy/Security Notes

  • Data is kept in Chrome synced storage (so available where you're signed in to Chrome on other computers)
  • Data in storage is not encrypted so don't store any secrets
  • No data is collected or transmitted to a third party by this extension (unless React or Chrome are doing something shady under the hood)

About

Chrome extension to toggle URLs for specific sites

Resources

License

Stars

Watchers

Forks

Packages

No packages published