Commit graph

8 commits

Author SHA1 Message Date
Tobias
5bf8b82b71 Merge b471cc2fdf into 4a1597c87f 2017-12-04 16:38:46 +00:00
Gabor Luk
f87bf2a861 Maintain the active state of the redirected tab 2017-12-02 15:25:32 +01:00
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
Jonathan Kingston
1c09c29104 Fix assignment of stale containers. Fixes #803 Fixes #827 2017-09-27 13:51:40 +01:00
Jonathan Kingston
ad2198e8b5 Encode non conforming chars that break moz-extension urls. Fixes #787 2017-09-05 17:10:07 -07:00
Jonathan Kingston
cb6726b667 Add move and hide to context menu and neaten using checkboxes. Fixes #711 2017-08-30 13:20:57 -07:00
Jonathan Kingston
57a31f7f97 Remove legacy telemetry code as non functional now 2017-08-15 19:30:57 +01:00
Jonathan Kingston
12a6bb3b9b Break web extensions code 2017-08-02 14:20:59 +01:00