Small fixes in unique_tabs

Open
#19 · Created  · Last updated

Description

Hello portix,

First fix is for the issue discussed on arch forums where unique_tabs starts focusing tabs that are not loaded. This seems to be caused by both uri and tab.uri to be set "about:blank" in onNavigation. I think it is reasonable to just ignore blank tabs in unique_tabs.

The another one is for that the closing of the duplicate tab fails currently, this is because /^\s*$/.test(wv.uri) fails. Again, I think is reasonable to test against "about:blank".

Let me know if there's any issues.

0 attachments

0 comments

Loading commits...