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
xinkai
249c9b6287
wiew
should be view
.
...
This typo causes TST unable to reshow the tabs after FF exiting full-screen mode.
2014-11-16 13:18:14 +08:00
YUKI Hiroshi
ee8918e460
Merge branch 'master' of github.com:piroor/treestyletab
2014-10-30 12:27:26 +09:00
YUKI Hiroshi
e5171ea638
Fix mismatched variable name
2014-10-30 12:26:41 +09:00
Piro / YUKI Hiroshi
9c2a175e6a
Find <tabbrowser> from <browser> correctly
2014-10-30 06:20:44 +09:00
YUKI Hiroshi
12cdd76f7e
Detect targets for API calls about tab relations based on "browser" element, instead of "Window" objects
2014-10-29 20:36:12 +09:00
Piro / YUKI Hiroshi
fe26d207ca
Migrate from JSDeferred to ES6 Promise (Promise.jsm)
2014-10-22 02:28:19 +09:00
Piro / YUKI Hiroshi
db487f32bb
Detect DOM instances by constructor function instead of XPCOM interface
2014-10-01 01:32:27 +09:00
YUKI Hiroshi
09f43c8f84
Use LF instead of CRLF
2014-09-30 20:09:27 +09:00
YUKI Hiroshi
e3c589406d
Output message for debugging around unexpected new child tab
2014-09-30 15:13:10 +09:00
YUKI Hiroshi
8fc1998fd4
Stringify saved value.
...
This is required to bypass type check introduced by https://bugzilla.mozilla.org/show_bug.cgi?id=908440
2014-09-30 14:31:08 +09:00
Piro / YUKI Hiroshi
66eb630cdf
Revert "Read value of custom attributes of tabs via TSTBase.getTabAttribute() safely."
...
This reverts commit f4fb6174d2
.
This change breaks other features...
2014-07-02 04:44:43 +09:00
Piro / YUKI Hiroshi
f4fb6174d2
Read value of custom attributes of tabs via TSTBase.getTabAttribute() safely.
...
Tab's ID and other attributes saved via setTabValue is not available before the tab is completely restored.
As the result, TST sometimes fail to restore tab positions. (See: #676 )
This issue doesn't happen on Firefox 24ESR, because recent Firefox (29 and later) uses message manager to restore tabs and it causes such "delay" of initializations about custom attributes.
2014-07-02 04:29:49 +09:00
YUKI Hiroshi
fd6c08937a
Use Object.create to create subclasses
2014-04-02 19:25:51 +09:00
YUKI Hiroshi
0a0a4003b5
Restore tree structure on the startup correctly, with Firefox 29 and later
2014-03-31 14:54:14 +09:00
YUKI Hiroshi
5e7dc7684a
Initialize CustomEvent correctly
2014-03-12 11:34:42 +09:00
Piro / YUKI Hiroshi
8b3792b312
Use CustomEvent instead of DataContainerEvent.
...
DataContainerEvent is going to be deprecated.
See: https://bugzilla.mozilla.org/show_bug.cgi?id=980134
2014-03-12 01:50:40 +09:00
YUKI Hiroshi
c91ffcac54
Remove codes for outdated versions of Firefox
2014-01-30 12:36:36 +09:00
Piro / YUKI Hiroshi
7f3fdb1ab1
Remove codes for "replace current one tab".
...
Because it was removed on Firefox 8. These codes are already expired.
2014-01-29 01:35:13 +09:00
Piro / YUKI Hiroshi
1198defd82
Detect drop position on pinned tabs correctly ( #585 )
...
This is partial fix.
2013-11-28 04:30:10 +09:00
YUKI Hiroshi
1322154117
Use single quotation
2013-11-19 19:13:38 +09:00
Piro / YUKI Hiroshi
8b77d49cca
Fix path to AeroPeek module
2013-11-13 02:19:24 +09:00
Piro / YUKI Hiroshi
56d8b32ab7
Avoid error for undefined symbol "AeroPeek"
2013-11-13 02:18:27 +09:00
Piro / YUKI Hiroshi
2bfa8d7f4a
Revert "Use SessionStore.jsm only."
...
This reverts commit 97637256a8
.
This fixes a breakage of session restoration behaviors. The public symbol "SessionStore" doesn't have "TabRestoreStates", it is not exported.
2013-11-13 02:15:55 +09:00
Piro / YUKI Hiroshi
765b0d2e9f
Report and ignore error from changes of Scriptish_openInTab
2013-11-10 14:01:06 +09:00
Piro / YUKI Hiroshi
461a8aca98
Update credit
2013-11-10 04:28:07 +09:00
Piro / YUKI Hiroshi
a0b26441bf
Fix breakage of *Now APIs
2013-11-10 04:16:29 +09:00
Piro / YUKI Hiroshi
5676165ebe
Fix breakage of hooked tabModule.Scriptish_openInTab
2013-11-10 04:16:21 +09:00
Tetsuharu OHZEKI
b779d9306a
Remove needless access to 'arguments'.
2013-11-10 04:16:14 +09:00
Tetsuharu OHZEKI
ee1eec680d
Use ES6 Rest parameters.
2013-11-10 04:15:23 +09:00