Decode URLs from The Great Suspender after a browser restart fails to reload them
Posted by jpluimers on 2017/03/16
Hosted at: Decode URLs from The Great Suspender after a browser restart fails to reload them
Converts URLs like these:
chrome-extension://klbibkeccnjlkjkiokjodocebajanakg/suspended.html#url=http%3A%2F%2Fwww.barryodonovan.com%2F2012%2F06%2F29%2Fmigrating-svn-with-branches-and-tags-to-git
back into
http://www.barryodonovan.com/2012/06/29/migrating-svn-with-branches-and-tags-to-git
Source below.
It decodes a URL encoded by The Great Suspender which is a cool Google Chrome plugin that suspends pages after some idle time.
The uncool thing is that when Google Crome restarts after a crash (it’s software, it does that, especially as it consumes truckloads of memory and is full of memory leaks) it often fails to restore some (but not many) of the suspended pages into a usable state: it shows only the encoded URLs.
–jeroen
https://gist.github.com/jpluimers/5c2093a68a775e1d1f5e743a34735548






Leave a Comment