Thread:がか/@comment-26449500-20170715010820/@comment-26154973-20170717234012

This seems to work var buttons = $('.ship-page-gallery-tab .tabbernav a') buttons.each(function (i) { var x = $(this)  x.mousedown(function  { buttons.each(function (j) {     var y = $(this)      if (i !== j && (x.text === 'Normal' && y.text === 'Normal' || x.text === 'Damaged' && y.text === 'Damaged')) {        y.click      }    }) }) }) I will test it more later.

Also, previous code is live, so it should be on the side bar now (Ctrl+F5 if not).