Skip to content

Instantly share code, notes, and snippets.

@borekb
Last active November 28, 2016 22:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save borekb/3e1e7cf54098d3b2b436a84bdf477929 to your computer and use it in GitHub Desktop.
Save borekb/3e1e7cf54098d3b2b436a84bdf477929 to your computer and use it in GitHub Desktop.
Chrome MRU tabs extension

This has been sent to several freelancers on Fiverr.

I'm looking for an extension that provides MRU (most-recently-used) tab behavior in Chrome on Windows. This is generally hard to achieve as it's not supported natively but I think there's a trick: there's a CLUT extension that implements the MRU behavior (https://chrome.google.com/webstore/detail/clut-cycle-last-used-tabs/cobieddmkhhnbeldhncnfcgcaccmehgn) and I can manually update the Preferences file to change the CLUT's default Alt+S shortcut to Ctrl+Tab. Then it works for a single session. The problem is that after I restart Chrome, the shortcut is back to Alt+S.

So the gig would be about creating an extension (or an extension plus a small Chrome app) that:

  • Expects CLUT to be installed
  • On every Chrome start, or shortly after that, searches the Preferences file for Alt+S and replaces it with Ctrl+Tab.

That's it. If I understand the security constraints correctly, this would need to be a pair of Chrome app that has the filesystem access and can write to the Preferences file, plus a small Chrome extension that calls that Chrome app via some API.

Is that doable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment