Commit Graph

1993 Commits

Author SHA1 Message Date
YUKI Hiroshi
508fa70336 Reduce use of eval 2016-01-21 19:59:34 +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
978bda448d Remove obsolete code 2016-01-21 15:14:16 +09:00
YUKI Hiroshi
5be6d36583 Make compatible with Open Bookmark in New Tab 2.x 2016-01-21 13:49:16 +09:00
YUKI Hiroshi
f26193f55f Open new tabs from window.open() in non-tab frames as independent tab 2016-01-20 19:41:07 +09:00
YUKI Hiroshi
7973071bd1 Open orphan tab from links if it is not related to the current tab 2016-01-20 11:58:25 +09:00
YUKI Hiroshi
28ba3b54ad Fixup tree structure after tab move correctly.
Keyboard shortcuts Ctrl-Shift-PageUp/PageDown sometimes broke the tree.
This commit fixes following cases:

case 1:
  * [-] A
    * A-1 <= Ctrl-Shift-PageDown at here
  * [+] B

  then they should be:

  * A
  * [+] B
  * A-1

  but actually:

  * [-] A
  * [+] B
  *   A-1 <= still a child of A!

case 2:

  * A
  * [-] B
    * [+] B-1 <= Ctrl-Shift-PageUp at here

  then they should be:

  * A
  * [+] B-1
  * B

  but actually:

  * A
  *  [+] B-1 <= still a child of B!
  * [-] B
2016-01-18 18:43:36 +09:00
YUKI Hiroshi
b214268d69 Activate/deactivate auto hide feature for fullscreen mode correctly 2015-12-25 16:21:28 +09:00
YUKI Hiroshi
ca63c220f9 Don't show thin glay bar for pinned tabs on fullscreen HTML5 video 2015-12-25 16:06:34 +09:00
YUKI Hiroshi
17526f7940 Don't use deprecated catch-if.
See also: https://bugzilla.mozilla.org/show_bug.cgi?id=1228841
2015-12-01 11:27:50 +09:00
YUKI Hiroshi
b5e217b359 Fix mismatched entity name 2015-11-27 19:20:04 +09:00
YUKI Hiroshi
9b856616f7 Use preferred label for "Auto hide tab bar" in the context menu for auto hide or auto shrink 2015-11-27 19:17:47 +09:00
YUKI Hiroshi
a780716043 Hide arrowscrollbox spacers for vertical tab bar.
See also #863
2015-11-27 18:21:56 +09:00
YUKI Hiroshi
92e03c52a9 Control "muted" status of descendant tabs if the tab has a subtree and they are collapsed 2015-11-19 20:20:15 +09:00
YUKI Hiroshi
03fb19d810 Hide virtual sound indicator for a parent tab when the subtree is expanded 2015-11-19 18:31:16 +09:00
YUKI Hiroshi
47876f780e Call original methods more safely 2015-11-19 15:01:02 +09:00
YUKI Hiroshi
e06d99d6ce Call original methods more safely.
Because "this" can be changed by other addons, like Speed Dial. See #994
2015-11-19 14:49:15 +09:00
YUKI "Piro" Hiroshi
0ed972459b Update library 2015-11-12 13:11:57 +09:00
xeonx1
eec2a051de Fix for piroor/treestyletab#982 and piroor/multipletab#101 where New Folder and Bookmark Properties dialogs appearing empty only both Tree Style Tabs and Multiple Tab Handler (and other extensions withbookmarkMultipleTabs_bookmarkPropertiesOverlay.xul) are enabled at the same time. 2015-11-11 19:40:08 -08:00
Piro / YUKI Hiroshi
3fa5aec658 Add reference counter implementation to detect memory leak 2015-11-10 03:00:43 +09:00
Piro / YUKI Hiroshi
89afb6f08d Update library: detect URI of pending tabs correctly on Firefox 35 and later 2015-11-09 23:10:44 +09:00
Piro / YUKI Hiroshi
d295128e4a Update library: Override function without eval() to avoid errors from mismatched variable scopes.
See also https://bugzilla.mozilla.org/show_bug.cgi?id=1202902
2015-11-09 22:43:04 +09:00
Piro / YUKI Hiroshi
45767e473a Indicate target platforms 2015-11-08 22:51:02 +09:00
Piro / YUKI Hiroshi
6f90b666ee Apply "insertion position of new child tab" preference for tabs opened via GM_openInTab() #978 2015-11-08 21:57:00 +09:00
Piro / YUKI Hiroshi
732822175a Fix mismatched arguments for the original function #979 2015-11-08 17:31:11 +09:00
YUKI Hiroshi
b83a92bdb0 Open source tab as a child of the current 2015-11-06 15:13:45 +09:00
YUKI Hiroshi
2a8f980de5 Fix mismatched argumenit for overridden method 2015-11-06 15:07:51 +09:00
YUKI Hiroshi
51e473c777 Remove event listener correctly 2015-11-06 13:38:22 +09:00
YUKI Hiroshi
9f14f594de Fix indent 2015-11-06 13:37:36 +09:00
YUKI Hiroshi
7f82809997 Simplify 2015-11-06 13:37:22 +09:00
YUKI Hiroshi
e2dd6a2799 Fix indent 2015-11-06 13:34:19 +09:00
YUKI Hiroshi
c1a9cefa4b Don't override tabbar method again and again 2015-11-06 13:33:30 +09:00
Piro / YUKI Hiroshi
7da7a47db7 Read preferences correctly 2015-11-06 01:14:00 +09:00
Piro / YUKI Hiroshi
9516999af4 Read preferences correctly 2015-11-06 01:11:46 +09:00
Piro / YUKI Hiroshi
764cf0c8e1 Fix typo 2015-11-05 23:39:45 +09:00
YUKI Hiroshi
d3a5bd106b Fix indent 2015-11-05 19:45:59 +09:00
YUKI Hiroshi
2f1b3f3aed Remove needless comment 2015-11-05 19:45:47 +09:00
YUKI Hiroshi
daddf249e0 Reduce use of eval() 2015-11-05 19:44:59 +09:00
YUKI Hiroshi
66e2b5f5b1 Remove needless wrapper 2015-11-05 19:44:52 +09:00
YUKI Hiroshi
fad308b234 Reduce use of eval() 2015-11-05 19:40:35 +09:00
YUKI Hiroshi
4fc08ca1f4 Fix typo 2015-11-05 19:30:31 +09:00
YUKI Hiroshi
00f52714aa Reduce use of eval() 2015-11-05 19:28:24 +09:00
YUKI Hiroshi
4213f5cf39 Refere "this" always 2015-11-05 19:24:18 +09:00
YUKI Hiroshi
be899d1b52 Reduce use of eval() 2015-11-05 19:24:10 +09:00
YUKI Hiroshi
330e7503aa Reduce useing of eval() 2015-11-05 19:21:45 +09:00
YUKI Hiroshi
c8e364a505 Fix missing "this" for Function#call() 2015-11-05 19:12:32 +09:00
YUKI Hiroshi
59fa80adf1 Reduce using of eval() 2015-11-05 19:12:21 +09:00
YUKI Hiroshi
a029d82f18 Reduce use of eval() 2015-11-05 19:01:01 +09:00
YUKI Hiroshi
1d341ab3a0 Reduce use of eval() 2015-11-05 18:48:25 +09:00
YUKI Hiroshi
3bfa87f0e0 Remove obsolete hack for TabsOnTop 2015-11-05 18:44:03 +09:00