Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of ContainMarks

ContainMarks by mikenrafter

Natively and easily edit and open bookmarks in multi-account containers. Now works with Firefox Sync!

5 (2 reviews)5 (2 reviews)
11 Users11 Users
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
Assign containers from the bookmark-barQuickly bookmark the current page + container comboEasily edit bookmarks nativelyAssign entire folders to a containerCustomize the quick-bookmark target folder to your liking
About this extension
ContainMarks

Natively and easily edit and open bookmarks in multi-account containers.



Compatability

This extension works well with both Temporary Containers on the Mozilla-Addons-Store and Temporary Containers Plus on the Mozilla-Addons-Store.



Usage

(see the screenshots above, or head to the repository for gifs)
  • Quickly bookmark the current page + container combo
  • Assign a container from the bookmark context menu
  • Easily edit assigned bookmarks with the native bookmark UI
  • Assign whole folders in one pass
  • Choose where quick bookmarks are saved from the options page



Security

ContainMarks attaches a one-time code (a token) to all assigned bookmarks. This ensures only bookmarked pairings open in the assigned container.

Sync

ContainMarks works with Firefox Sync / bookmark transfer methods.

Privacy Policy/T.O.S/C.O.C
  1. We do not collect ANY information from you, everything is stored locally.
  2. There are no terms of service, use as you please. Do respect the MIT License, however.
  3. Be kind to others. This rule will be enforced by owner of this repository, at their discretion.



Slightly more technical details

Security Tokens

When a bookmark is assigned to a container, it receives a random token and a stable container index. The assignment is embedded in the URL's fragment, so the real URL remains intact and navigable.
E.G. https://example.com -> https://example.com#cm:r4nD0Mt_k3n:4

If the original URL already had a fragment (e.g. https://example.com#section), it is preserved after the encoding:
https://example.com#cm:r4nD0Mt_k3n:4#section

The number is the stable, first-seen container mapping index.

This token is hidden when the user goes to edit the bookmark. It is hotswapped back in when the bookmark is saved. This makes native bookmark editing possible without exposing the internal workings of the extension or requiring users to not mess with the token in the URL. This is a slight oversimplification, but this is ~90% correct. Read the code for the full details.

Sync Mapping Folder

ContainMarks stores container mapping bookmarks in the Bookmarks Menu under ContainMarks Sync.
  • Folder location: Bookmarks Menu (menu________)
  • Mapping bookmark title: Mapping: {containerName}
  • Mapping bookmark URL: about:{firstSeenIndex}:{cookieStoreId}:{backupName}

This keeps container references stable across renames and helps sync behavior across devices.

Token Retention Options

Token retention behavior is configurable in the options page:
  • Regenerate tokens on startup toggle
  • Regenerate tokens on every use toggle

Page-Action Bookmarking

The page-action shortcut always creates a bookmark for the current tab URL.
  • If the tab is in a container, the bookmark is container-mapped.
  • If the tab is not in a container, a plain bookmark is created.

Made with ideas from
  • Container Bookmarks on the Mozilla-Addons-Store
  • Open URL In Container on the Mozilla-Addons-Store

License

All code is licensed under the MIT License.
Because innovation is desirable.
Rated 5 by 2 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
2
4
0
3
0
2
0
1
0
Read all 2 reviews
Permissions and data

Required permissions:

  • Read and modify bookmarks
  • Monitor extension usage and manage themes
  • Display notifications to you
  • Access browser tabs
  • Access browser activity during navigation
  • Access your data for all websites

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Add-on Links
  • Homepage
  • Support site
  • Copy add-on ID
Version
1.2.1
Size
95.44 KB
Last updated
a day ago (May 14, 2026)
Related Categories
  • Privacy & Security
  • Bookmarks
  • Shopping
License
MIT License
Version History
  • See all versions
Tags
  • anti tracker
  • container
  • privacy
  • security
Add to collection
Report this add-on
Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.