Commit Graph

132 Commits

Author SHA1 Message Date
YUKI Hiroshi
c35e239555 Isolate from custom extensions.js 2016-09-09 18:19:25 +09:00
YUKI Hiroshi
81e2c10ed5 Open "next sibling tab" more correctly in some cases.
See:
https://github.com/piroor/treestyletab/issues/1143
https://github.com/piroor/treestyletab/issues/1150
2016-09-09 15:42:24 +09:00
YUKI Hiroshi
013ba34d69 Add comment for future fix 2016-09-08 13:13:41 +09:00
YUKI Hiroshi
d66e4a0c0f Rearrange buttons in the confirmation dialog to choose how to open bookmark folder.
Due to the https://bugzilla.mozilla.org/show_bug.cgi?id=345067 now we must put "cancel" as tne index 1.
2016-09-08 12:57:41 +09:00
YUKI Hiroshi
fe0027a8f5 Fix typo 2016-09-08 12:36:16 +09:00
YUKI Hiroshi
6718a1affa Show "cancel" button in the confirmation dialog for bookmark groups 2016-09-08 12:29:32 +09:00
YUKI Hiroshi
02211ea227 Cancel to open bookmarks if "how to open the bookmark folder?" confirmation dialog is canceled.
See: https://github.com/piroor/treestyletab/issues/1155
2016-09-08 12:08:55 +09:00
YUKI Hiroshi
92dd8adf82 Update library 2016-09-07 15:53:01 +09:00
YUKI Hiroshi
05267c0d3f Drop support for Tab Mix Plus's custom session management system 2016-09-06 15:29:26 +09:00
YUKI Hiroshi
dda3981a51 Stringify object only once 2016-08-30 17:16:39 +09:00
YUKI Hiroshi
6f658d4eef Accept null or something as the options 2016-07-12 09:58:05 +09:00
YUKI Hiroshi
2452641711 Specify default value for options 2016-07-07 18:49:43 +09:00
YUKI Hiroshi
2ecbf63c23 Specify "insertAfter" reference correctly 2016-07-07 18:45:06 +09:00
YUKI Hiroshi
f78769549a Clear reference for "previous tab" correctly 2016-07-07 18:41:51 +09:00
YUKI Hiroshi
c44fa859dc Open new tab next to the current tab correctly, even if the current tab is the last tab 2016-07-07 18:39:42 +09:00
YUKI Hiroshi
2b13d9996d Open new tab as the next sibling tab correctly, even if the current tab is the last child #1143 2016-07-06 18:52:09 +09:00
Piro / YUKI Hiroshi
27a8a8f2e0 Don't expand the tab bar too much on resizing #1002 2016-05-30 02:55:17 +09:00
YUKI Hiroshi
c51112886a Detect dummy group tab correctly even if it is still loading 2016-02-18 20:12:50 +09:00
Piro / YUKI Hiroshi
9580dc574f Don' open new single tab from middle click on the Home button as a child of the current tab 2016-02-14 18:37:58 +09:00
Piro / YUKI Hiroshi
0a86767afb Update style rules for the narrow scroll bar when the tab bar becomes overflow 2016-02-13 01:11:44 +09:00
Piro / YUKI Hiroshi
998fb39410 Update name of a preference 2016-02-13 01:03:48 +09:00
Piro / YUKI Hiroshi
4d34bd48f7 Define size of narrow sidebar by pixels always 2016-02-13 01:02:43 +09:00
Piro / YUKI Hiroshi
573f1d179d Move some utilities from TSTBase to TSTUtils 2016-02-13 01:01:44 +09:00
YUKI Hiroshi
e531d8cd93 Output debug log to the browser console also 2016-02-10 19:10:46 +09:00
YUKI Hiroshi
49a025a1da Move utility to find tab browser from tab related element from TSTBase to TSTUtils 2016-02-10 17:44:10 +09:00
YUKI Hiroshi
fe7cf571f5 Move XPath related utilities from TSTBase to TSTUtils 2016-02-10 17:42:37 +09:00
YUKI Hiroshi
cf6e1c4f1c Don't touch to tab's session history to determine the tab is a group tab or not.
For remote tabs, browser.sessionHistory raises exception. See #1028
2016-01-26 14:51:51 +09:00
Piro / YUKI Hiroshi
190d8cd71c Add new utility TST.doAndGetNewTabs(aFunction) to get newly opened by the function 2016-01-22 00:13:37 +09:00
YUKI Hiroshi
fdc472441b Move codes to override behaviors around bookmarks to a JS code module.
Moreover, it reduces use of eval.
2016-01-21 18:23:11 +09:00
YUKI Hiroshi
49f17f596d Fix typo 2016-01-20 11:15:22 +09:00
YUKI Hiroshi
6dd37567c1 Open as orphan by default 2016-01-19 18:51:33 +09:00
YUKI Hiroshi
e2c93cc59c Introduce new API to open orphan tab intentionally.
It is required to open a new tab with "relatedToCurrent" as orphaned.
This solves the problem https://github.com/piroor/treestyletab/issues/1013#issuecomment-172780573
2016-01-19 18:09:49 +09:00
YUKI Hiroshi
2ede365e18 Delete flags from the service object when they are expired 2016-01-19 18:04:29 +09:00
YUKI Hiroshi
ef5d21b413 Give up to disable browser.tabs.insertRelatedAfterCurrent 2016-01-19 17:47:18 +09:00
YUKI Hiroshi
1b815f963c Limit maximum width of the tab bar to 50% of the window 2015-11-27 19:54:11 +09:00
YUKI Hiroshi
355993a08e Fix indent 2015-11-06 15:57:19 +09:00
YUKI Hiroshi
a1a519f189 Remove XPath-based method to find the last descendant tab.
It seems to be too complex for "last descendant".
This will solve the issue #888.
2015-11-06 15:55:33 +09:00
YUKI Hiroshi
42c0bfa407 Indent stack trace 2015-10-26 18:50:27 +09:00
YUKI Hiroshi
5bd7112a24 Control more debug prints by preferences 2015-10-26 16:37:28 +09:00
Piro / YUKI Hiroshi
8185bafaae Define global symbol which to be exported, by "var" instead of "const".
This should avoid the issue caused by new behavior of ES6 "const".
See also https://bugzilla.mozilla.org/show_bug.cgi?id=1202902
2015-10-11 12:40:17 +09:00
Piro / YUKI Hiroshi
04b06ef084 Apply new pref value only for the topmost browser window smartly 2015-09-29 03:45:10 +09:00
YUKI Hiroshi
ae050bba76 Output more debug print 2015-09-25 15:26:40 +09:00
Piro / YUKI Hiroshi
8df88139d4 Remove obsolete utility 2015-06-13 00:06:54 +09:00
YUKI Hiroshi
64f488575e Don't touch to browser.contentWindow if it is remote 2015-03-13 15:58:40 +09:00
Piro / YUKI Hiroshi
f9c865710a Correct mismatched pair of shrunken and expanded width of the tab bar 2015-03-04 02:19:07 +09:00
Piro / YUKI Hiroshi
2d8649735e Manage position of the tab bar for each window 2015-03-04 01:22:22 +09:00
YUKI Hiroshi
b09881797a Allow to store zero and false values 2015-03-03 19:05:53 +09:00
Piro / YUKI Hiroshi
6352d57858 Remove deprecated JS1.7's let blocks 2015-02-27 00:59:31 +09:00
YUKI Hiroshi
66f16dde50 Accept null input by getTabFromFrame().
This suppresses a crash error reported on https://bugzilla.mozilla.org/show_bug.cgi?id=1098688
2014-11-19 12:25:56 +09:00
YUKI Hiroshi
3663519efd Return the current browser immediately if possible 2014-11-19 12:25:39 +09:00