At line 20 of background.js, the invocation of browser.tabs.create
is explicitly given the index
argument. This makes the image search tab open up adjacent to the tab it's invoked from.
However, I have the browser.tabs.insertRelatedAfterCurrent
setting set to false, which means that I expect new tabs to be opened at the end; hence, this extension is not behaving in accordance with the rest of Firefox for me.
If this is working as intended, that's fine; I'll go put together the twelve LoC or so to get an extension that works like I'd like it to. However, I suspect that just not specifying index
will make the extension do the right thing in all circumstances.