<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: MarshalX</title>
    <description>The latest articles on DEV Community by MarshalX (@marshalx).</description>
    <link>https://dev.to/marshalx</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4175383%2F823558c0-1ed7-404c-9eed-93ea94e2e229.png</url>
      <title>DEV Community: MarshalX</title>
      <link>https://dev.to/marshalx</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/marshalx"/>
    <language>en</language>
    <item>
      <title>Chrome forgets where your tabs have been. Back Pocket doesn't</title>
      <dc:creator>MarshalX</dc:creator>
      <pubDate>Sat, 10 Oct 2026 14:04:53 +0000</pubDate>
      <link>https://dev.to/marshalx/chrome-cant-give-a-tab-a-history-heres-how-i-gave-it-one-anyway-3mgk</link>
      <guid>https://dev.to/marshalx/chrome-cant-give-a-tab-a-history-heres-how-i-gave-it-one-anyway-3mgk</guid>
      <description>&lt;p&gt;Chrome lets you save a tab group. Close it, reopen it later, and every tab comes back on the right page. Press Back, though, and nothing happens: Chrome saved where each tab &lt;em&gt;is&lt;/em&gt;, not where it &lt;em&gt;had been&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;I wanted the whole thing back, so I built Back Pocket, a Chrome extension that saves tab groups with each tab's Back history.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it keeps
&lt;/h2&gt;

&lt;p&gt;Back Pocket follows each tab's Back and Forward pages as you browse, up to 50 a tab, the most Chrome itself keeps. It records only the addresses, never what was on the pages, and all of it stays on your computer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Giving it back
&lt;/h2&gt;

&lt;p&gt;Saving the history turned out to be the easy half. Chrome has no way for an extension to hand a tab a history, and getting it to accept those pages as real Back entries was the hardest part of the whole project, and the part I'm proudest of.&lt;/p&gt;

&lt;p&gt;It works now: restore a group with its history, and each tab's Back button goes where it went before. While that runs, Chrome shows its "started debugging this browser" bar, because that is the only access Chrome gives an extension to a tab's history. The bar goes away when the restore is done, and a plain restore never shows it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Not paying for it in memory
&lt;/h2&gt;

&lt;p&gt;Restoring a 30-tab group shouldn't load 30 pages. Restored tabs load only when you click them, so even a big group costs almost nothing until you use it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'd tell anyone building something similar
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Measure what Chrome actually does. The documentation and the browser don't always agree, and only a test tells you which one is right.&lt;/li&gt;
&lt;li&gt;If people will see a warning, explain it before they do. A debugging bar nobody expected looks alarming; one you were told about is just a step.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Back Pocket is free on the Chrome Web Store: &lt;a href="https://chromewebstore.google.com/detail/hpihlojfcfnmcnaafeepfdgbfjoipfkb" rel="noopener noreferrer"&gt;https://chromewebstore.google.com/detail/hpihlojfcfnmcnaafeepfdgbfjoipfkb&lt;/a&gt;. More about it at &lt;a href="https://backpocket.marshalx.dev" rel="noopener noreferrer"&gt;https://backpocket.marshalx.dev&lt;/a&gt;, and what else I make at &lt;a href="https://marshalx.dev" rel="noopener noreferrer"&gt;https://marshalx.dev&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>chrome</category>
      <category>javascript</category>
      <category>webdev</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
