Board Thread:Support Requests - Getting Technical/@comment-5396085-20141005171927

In this previous (archived) question, Tabber - Setting the default tab displayed

there is a code snippet showing how to set tab #2 as the default on a specific page:

if (mw.config.get('wgPageName') === 'Special:FormEdit/Character/Demo') { $(window).on('load.tabberhack', function {       $('.tabberlive')[0].tabber.tabShow(1); // Switch to tab 2        $(window).off('load.tabberhack');    }); };

What I would like to do:

1. set the last tab (no matter the total number of tabs) as the default

2. have this happen only inside an infobox.

Thanks for any assistance! 