Panorama:TabGroupsAPI: Difference between revisions

Jump to navigation Jump to search
m
Line 10: Line 10:
     {entries: [{url: "about:mozilla"}]},
     {entries: [{url: "about:mozilla"}]},
     {entries: [{url: "http://example.com/#1"}],
     {entries: [{url: "http://example.com/#1"}],
     extData: {"tabgroups": "{\"group\": \"group1-id\", \"title\": \"first tab title\", \"url\": \"first tab url"}"}},
     extData: {"tabgroups": "{\"group\": \"group1-id\", \"title\": \"first tab title\",  
                                \"url\": \"first tab url"}"}},
     {entries: [{url: "http://example.com/#2"}],
     {entries: [{url: "http://example.com/#2"}],
     extData: {"tabgroups": "{\"group\": \"group2-id\", \"title\": \"second tab title\",\"url\": \"second tab url"},
     extData: {"tabgroups": "{\"group\": \"group2-id\", \"title\": \"second tab title\",  
                              \"active\":\"last active tab in group it belongs\"}"}
                              \"url\": \"second tab url"}, \"active\":\"last active tab in group it belongs\"}"}
   ],
   ],
   extData: {
   extData: {
     "tabgroups": "{\"group1-id\": {\"id\": \"group1-id\", \"title\": \"first title\", \"userSize\": {\"x\": 330, \"y\": 310},
     "tabgroups": "{\"group1-id\": {\"id\": \"group1-id\", \"title\": \"first title\",  
                                  \"bounds\": {\"left\": 35, \"top\": 45, \"width\": 330, \"height\": 310}},  
                                  \"bounds\": {\"left\": 35, \"top\": 45, \"width\": 330, \"height\": 310},
                   \"group2-id\": {\"id\": \"group2-id\", \"title\": \"second title\", \"userSize\": {\"x\": 330, \"y\": 310},
                                  \"userSize\": {\"x\": 330, \"y\": 310}},  
                                  \"bounds": {\"left\": 450, \"top\": 45, \"width\": 330, \"height\": 310}},  
                   \"group2-id\": {\"id\": \"group2-id\", \"title\": \"second title\",
                                  \"bounds": {\"left\": 450, \"top\": 45, \"width\": 330, \"height\": 310},
                                  \"userSize\": {\"x\": 330, \"y\": 310}},  
                   \"additions\": {\"activeGroup\":\"group2-id\", \"showOnStartup\":true,  
                   \"additions\": {\"activeGroup\":\"group2-id\", \"showOnStartup\":true,  
                                   \"pageBounds\" :{\"left\":0, \"top\": 0, \"width\": 1000, \"height\": 750}}}"
                                   \"pageBounds\" :{\"left\":0, \"top\": 0, \"width\": 1000, \"height\": 750}}}"
42

edits

Navigation menu