Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

miclgael/sesame

Repository files navigation

Sesame﹅

⚠️ This repository has been archived, as of December 3rd, 2023.

A browser extension to hot-swap the domain name on any open web page, preserving directory structure and query params. Useful when developing and testing the same content across multiple domains.

right click anywhere → sesame → reopen as:
﹅ localhost
﹅ staging
﹅ production

Available contexts

Right click any open tab

"Reopen this page as ﹅"

More contexts coming soon :)

Demonstration

Old Sesame demo

👆 This gif may explain better than words

Installation

This is not a published extension. There is a signed/packaged release available at https://github.com/miclgael/sesame/releases/

Supports Firefox + Firefox For Android v57+

If you're developing..

You can load the extension in debug mode. Navigate to about:debugging#/runtime/this-firefox. From there you can load it as a temporary add-on by opening the manifest file.

Using the add-on

Once installed, you can right-click any open tab to find a new "Tabs" menu, somewhere at the bottom of the list.

You should go to the Options page, and set up your development URLs.

There is no checking or conversion of these strings, so make sure DO include a protocol, but DON'T include a trailing / on your URLs.

✅ Good: http://localhost:8888
🚫 Bad: localhost:8888/

Contributing

I would really like your help with:

  • Developing a Chrome version
  • Making these docs more understandable
  • Bug fixes
  • Testing / writing unit tests

Please read CONTRIBUTING.md for details on the code of conduct, and the process for submitting pull requests.

Versioning

I use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENCE file for details

Acknowledgements

Modified version of the "Menus" example from MDN Web Extensions Examples