Thursday, 11 May 2017

epic retardedness fix - enabling mru tabbing in chrome


background
since the launch of chrome back in 2008 i have been annoyed with the lack of mru (most recently used) tabbing. i believed, for a long time, that the feature would be implemented. now, nine years later, i have given up waiting for google. yesterday i spent some time searching the net for a fix to this major annoyance, or epic retardedness, in this web browser. below is the result.

my previous solution
i have for years been using the extension "tab stacker". with tabs being moved to the left it has been a suboptimal solution. but i learned to live with it since it allowed me to use the windows default 'ctrl' + 'tab' shortcut for mru switching.

the fix
below is a step by step description of what i did to enable mru tabbing in chrome in a proper way.

one
download and install autohotkey (i went for version 1.1, AutoHotkey_1.1.25.01_setup.exe, as i was unsure if the script i found would work with version 2).

two
in a smart place on the os do creat a file named 'chrome_ctrlTab.ahk', and added the following content:
#IfWinActive, ahk_class Chrome_WidgetWin_1
^Tab::^q

three
right click that file and click 'compile', to turn it into a .exe file.

four
press 'win' + 'r' and type in 'shell:startup'.

five
make a shortcut to 'chrome_ctrlTab.exe' inside the startup directory.


six
install the chrome extension "CLUT: Cycle Last Used Tabs".

seven
open chrome://extensions/, scroll to end of the page, click "keyboard shortcuts" and set the quick switch shortcut of the extension to "ctrl + q".



references
stackoverflow for the rescue, once again
an alternative script
a quora discussion
another possible alternative could have been using a macro recorder
chrome_mru on github




No comments:

Post a Comment

Allowed HTML tags:
<b>bold</b>
<strong>strong</strong>
<i>italics</i>
<em>emphasis</em>
<a href="">hyperlink</a>


Please, show the courtesy of identifying yourself when adding a comment. Anonymous comments will, most likely, be removed.