multi-account-containers/webextension/js/background
Tobias Laundal b471cc2fdf Open new tabs in same container as previous tab.
This commit adds functionality that will try to open new tabs in the same container as the previously active tab in that window, if the new tab doesn't already have a container, and the previously active tab did.
Some undocumented / implicity functionality in the webextension API is used:
 * `onCreated` is called for a new tab before `onActivated` for that tab is called
 * `onUpdated` will be called for all new tabs, also `about:newtab` and the like (sets the favicon)
 * The first `onUpdated` for a new tab, that is not an `about:`-tab, will set the URL

It is a little bit wonky, as the original new tab is created and displayed (although not loaded) before it can be closed a new tab can be created. However, it is the best workaround I can find to add this functionality until Bugzilla 1406371 is solved.

This would fix #462, #448 and #406 (I think)
Also relates to #943 and #544
2017-11-20 20:09:29 +01:00
..
assignManager.js Open new tabs in same container as previous tab. 2017-11-20 20:09:29 +01:00
backgroundLogic.js Fix a moving hidden tabs to a new window. Fixes #797 2017-09-07 12:03:28 -07:00
badge.js Clean up disabled Private Mode notice. Fixes #878 2017-09-29 16:59:51 +01:00
identityState.js Ignore non permissible urls when hiding as we can't open them which causes issues. Fixes #793 2017-09-07 10:12:25 -07:00
index.html Clean up disabled Private Mode notice. Fixes #878 2017-09-29 16:59:51 +01:00
messageHandler.js when user reaches container tab count, show achievement panel 2017-11-16 15:30:02 +00:00